Clear out the manager on the DObject when it's no longer active
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6725 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -347,6 +347,7 @@ public class ClientDObjectMgr
|
|||||||
// processed, it'll be 86ed
|
// processed, it'll be 86ed
|
||||||
var ooid :int = obj.getOid();
|
var ooid :int = obj.getOid();
|
||||||
_ocache.remove(ooid);
|
_ocache.remove(ooid);
|
||||||
|
obj.setManager(null);
|
||||||
_dead.put(ooid, obj);
|
_dead.put(ooid, obj);
|
||||||
|
|
||||||
// ship off an unsubscribe message to the server; we'll remove the
|
// ship off an unsubscribe message to the server; we'll remove the
|
||||||
|
|||||||
Reference in New Issue
Block a user