Explorar el Código

fix Undefined property: stdClass::$streamSending

walkor hace 2 años
padre
commit
944e31c129
Se han modificado 1 ficheros con 1 adiciones y 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();