Procházet zdrojové kódy

fix Undefined property: stdClass::$streamSending

walkor před 2 roky
rodič
revize
944e31c129
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();