walkor 5 anni fa
parent
commit
8241a0d2aa
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);
     }
 
     /**