Closed jxngai closed 8 years ago
At the client side if I try to close the web socket. it does not close immediately. There is a bug in websocket.php
Instead of
if ($user->hasSentClose) { $this->disconnect($user); }
It should be
if ($user->hasSentClose) { $this->disconnect($user->socket); }
+1 The fix worked for me.
At the client side if I try to close the web socket. it does not close immediately. There is a bug in websocket.php
Instead of
It should be