We need to know about unregistrations as well.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2703 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-07-11 03:13:30 +00:00
parent 7047bcfaf5
commit 55a40d7161
@@ -1,5 +1,5 @@
//
// $Id: InvocationDirector.java,v 1.26 2003/07/11 03:02:46 mdb Exp $
// $Id: InvocationDirector.java,v 1.27 2003/07/11 03:13:30 mdb Exp $
package com.threerings.presents.client;
@@ -132,8 +132,9 @@ public class InvocationDirector
Log.warning("Receiver unregistered for which we have no " +
"id to code mapping [code=" + receiverCode + "].");
} else {
Log.debug("Clearing receiver " + rreg + ".");
_receivers.remove(rreg.receiverId);
Object decoder = _receivers.remove(rreg.receiverId);
Log.info("Cleared receiver " +
StringUtil.shortClassName(decoder) + " " + rreg + ".");
}
_clobj.removeFromReceivers(receiverCode);
}