Explorar o código

fix Undefined property: stdClass::$streamSending

walkor %!s(int64=2) %!d(string=hai) anos
pai
achega
944e31c129
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Connection/TcpConnection.php

+ 1 - 1
src/Connection/TcpConnection.php

@@ -761,7 +761,7 @@ class TcpConnection extends ConnectionInterface implements JsonSerializable
                 }
             }
             if ($this->status === self::STATUS_CLOSING) {
-                if ($this->context->streamSending) {
+                if (!empty($this->context->streamSending)) {
                     return;
                 }
                 $this->destroy();