Browse Source

Update Swoole.php

walkor 5 years ago
parent
commit
8241a0d2aa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Events/Swoole.php

+ 1 - 0
Events/Swoole.php

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