Permalink
Browse files

listen for 'disconnected' not 'disconnecting' to match changes in com…

…mit 692865c
  • Loading branch information...
1 parent 7dde81a commit e8351ed4282514d731078f5dc6df6c528bb89a39 @rburns rburns committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/client/index.coffee
View
2 src/client/index.coffee
@@ -39,7 +39,7 @@ exports.open = do ->
c = new Connection origin
del = -> delete connections[origin]
- c.on 'disconnecting', del
+ c.on 'disconnected', del
c.on 'connect failed', del
connections[origin] = c

0 comments on commit e8351ed

Please sign in to comment.