瀏覽代碼

Update Swoole.php

walkor 5 年之前
父節點
當前提交
8241a0d2aa
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);
     }
 
     /**