Browse Source

Update Swoole.php

walkor 5 năm trước cách đây
mục cha
commit
8241a0d2aa
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
     }
 
     /**