Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharthesavior committed Dec 30, 2023
1 parent 6fe1d9e commit 021f62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ protected function handleClientConnection(): void
$this->connectionReady();

try {
while ($message = $this->client->receive()) {
while ($this->client && $message = $this->client->receive()) {
if (null === $this->onMessageCallback) {
continue;
}
Expand Down

0 comments on commit 021f62f

Please sign in to comment.