This commit is contained in:
Julien Fontanet
2014-09-14 22:40:51 +02:00
parent 6f4a865604
commit 20928c7a7f

View File

@@ -409,7 +409,7 @@ class $XO extends $EventEmitter
connections = @connections
connection = new $Connection opts
connection.id @_nextConId++
connection.id = @_nextConId++
connection.on 'close', -> delete connections[@id]
connections[connection.id] = connection