Skip to content

Commit

Permalink
Remove all listeners from socket server on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
igorw committed Jan 21, 2013
1 parent 1a2027d commit e549b1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public function shutdown()
{
$this->loop->removeStream($this->master);
fclose($this->master);
$this->removeAllListeners();
}

public function createConnection($socket)
Expand Down

0 comments on commit e549b1e

Please sign in to comment.