改名
This commit is contained in:
+1
-1
@@ -417,7 +417,7 @@ class Socket
|
||||
*/
|
||||
protected function isSocketDead()
|
||||
{
|
||||
return $this->stream instanceof \Swoole\Coroutine\Socket && $this->stream->checkLiveness();
|
||||
return !$this->stream instanceof \Swoole\Coroutine\Socket || !$this->stream->checkLiveness();
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
||||
Reference in New Issue
Block a user