Issue #74: unsubscribe error fix
Issue #74: unsubscribe error fix
We already discuss this:
ME: Connection from prev foreach may be wrong, if channels from different connections
YOU:OK, but the problem is when you unsubscribe the connection is removed from connections list and you can't find it with getConnectionByAlias later.
ME: Than move $this->_connections->removeChannel($channel) after the getting responses.
$channel = $this->rediska->subscribe('bets', 60); $channel->unsubscribe(); Just subscribe and then unsubscribe
More detailed description is here https://github.com/Shumkov/Rediska/issues/74
On Aug 7, 2013, at 15:52 , Ivan Shumkov [email protected] wrote:
How can i reproduce this bug?
— Reply to this email directly or view it on GitHub.
Ok thanks, but your solution is wrong if we have a channels with different connections
Probably yes, it's wrong. It works for me with one connection. I didn;t fix it for multiple connections.
On Aug 7, 2013, at 19:09 , Ivan Shumkov [email protected] wrote:
Ok, but your solution is wrong if we have a channels with different connections
— Reply to this email directly or view it on GitHub.