Skip to content

Commit

Permalink
Need to clear previous state after a restart (Or just everytime we st…
Browse files Browse the repository at this point in the history
…art) to prevent channel unbindings from occurring.
  • Loading branch information
NickALafrance committed Apr 27, 2020
1 parent 53804af commit 18e327a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Bayeux/BayeuxClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ protected function createClient(string $version = "44.0")

public function start()
{
$this->previousStates = [];
$this->setState(new State\HandshakeState($this, $this->logger));
do {
$this->state->handle();
Expand Down

0 comments on commit 18e327a

Please sign in to comment.