gameclosure/js.io — pull request #19 by bivald (2011-12-20 19:50:26+00:00)
Title: Send CSP client disconnect callback before _sessionKey is NULL

Updated CSP client to send the _doOnDisconnect(err) **before** _sessionKey is set to NULL. This means that the callback defined will have access to the _sessionKey and thus knows which session that has been closed. This is the way it was in old versions of js.io.

For now I am probably the only one that relies on this (I've added session resume support to Orbited 0.8) but I don't see any breaking changes this might include.