Small bugfix
This commit is contained in:
parent
e6bbb00464
commit
eabce85f6e
2
docs
2
docs
@ -1 +1 @@
|
|||||||
Subproject commit 8f6784adf5bca1dbab98ba1ec69ab52050633ca1
|
Subproject commit ddb2e4f76938b69ceac6e4615901c642accae1ef
|
@ -178,7 +178,7 @@ class Connection
|
|||||||
$message['send_promise'] = $deferred;
|
$message['send_promise'] = $deferred;
|
||||||
$this->pending_outgoing[$this->pending_outgoing_key++] = $message;
|
$this->pending_outgoing[$this->pending_outgoing_key++] = $message;
|
||||||
$this->pending_outgoing_key %= self::PENDING_MAX;
|
$this->pending_outgoing_key %= self::PENDING_MAX;
|
||||||
if ($flush) {
|
if ($flush && isset($this->writer)) {
|
||||||
$this->writer->resume();
|
$this->writer->resume();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user