Przeglądaj źródła

Update Swoole.php

walkor 5 lat temu
rodzic
commit
8241a0d2aa
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      Events/Swoole.php

+ 1 - 0
Events/Swoole.php

@@ -206,6 +206,7 @@ class Swoole implements EventInterface
     public function destroy()
     {
         Event::exit();
+        posix_kill(posix_getpid(), SIGINT);
     }
 
     /**