Corrected $msgBuffer issue caused by merge with master

This commit is contained in:
Matt Bonneau 2019-05-01 08:48:10 -04:00
parent cba2acd69d
commit ed16f5cba1

View File

@ -149,7 +149,7 @@ class MessageBuffer {
if (true !== $msgCheck) { if (true !== $msgCheck) {
$onControl($this->newCloseFrame($msgCheck, 'Ratchet detected an invalid UTF-8 payload'), $this); $onControl($this->newCloseFrame($msgCheck, 'Ratchet detected an invalid UTF-8 payload'), $this);
} else { } else {
$onMessage($this->messageBuffer, $this); $onMessage($msgBuffer, $this);
} }
$this->messageBuffer = null; $this->messageBuffer = null;