Skip to content

Commit e549b1e

Browse files
committed
Remove all listeners from socket server on shutdown
1 parent 1a2027d commit e549b1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Server.php

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public function shutdown()
5858
{
5959
$this->loop->removeStream($this->master);
6060
fclose($this->master);
61+
$this->removeAllListeners();
6162
}
6263

6364
public function createConnection($socket)

0 commit comments

Comments
 (0)