Skip to content

Commit

Permalink
Merge pull request #71 from Xaraknid/patch-3
Browse files Browse the repository at this point in the history
Fix issue #70
  • Loading branch information
ghedipunk committed Feb 10, 2016
2 parents 44e0b42 + 6fc5f67 commit c330228
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions websockets.php
Expand Up @@ -170,6 +170,7 @@ protected function disconnect($socket, $triggerClosed = true, $sockErrNo = null)
}

if ($triggerClosed) {
$this->stdout("Client disconnected. ".$disconnectedUser->socket);
$this->closed($disconnectedUser);
socket_close($disconnectedUser->socket);
}
Expand Down

0 comments on commit c330228

Please sign in to comment.