Explorar el Código

Update Swoole.php

walkor hace 5 años
padre
commit
8241a0d2aa
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);
     }
 
     /**