If we lose our connection, let anyone who had a pending subscription request

outstanding know that their subscription request failed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4873 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-11-13 02:56:35 +00:00
parent 8250d2f1f5
commit 5ae87258fa
2 changed files with 19 additions and 0 deletions
@@ -666,6 +666,11 @@ public class Client
// ensure that it won't happen until CLIENT_DID_LOGOFF was dispatched
_runQueue.postRunnable(new Runnable() {
public void run () {
// tell the object manager that we're no longer connected to the server
if (_omgr instanceof ClientDObjectMgr) {
((ClientDObjectMgr)_omgr).cleanup();
}
// clear out our references
_comm = null;
_omgr = null;