Add extra checks to channel.js for deadness

This commit is contained in:
calzoneman 2013-09-18 18:16:12 -05:00
parent d5c5de41e1
commit 39fe452e96
3 changed files with 116 additions and 8 deletions

View file

@ -1,3 +1,9 @@
Wed Sep 18 18:14 2013 CDT
* lib/channel.js: Add a bunch of checks to prevent callbacks from doing
things with a dead channel
* tests/channelDeadRace.js: Add a few client tests that cause exceptions
in the pre-patched channel code
Tue Sep 17 22:24 2013 CDT
* lib/user.js: Fix what I assume was a race condition that caused an error message
when a user's login callback fired after the channel unloaded.