Skip to content

Commit 8241a0d

Browse files
authored
Update Swoole.php
1 parent 3ff3a54 commit 8241a0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Events/Swoole.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ public function loop()
206206
public function destroy()
207207
{
208208
Event::exit();
209+
posix_kill(posix_getpid(), SIGINT);
209210
}
210211

211212
/**

0 commit comments

Comments
 (0)