Fix a big ol' memory leak. This remove() call appears to have accidentally gotten commented out in a warnings-cleanup pass because it used to assign the result of the remove to a variable only used in a commented-out Log.info(). Since the receivers stored in the hashtable can point to exciting things, like, say, puzzle panels, it was causing a pretty immense amount of stuff to get held onto.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5700 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -150,7 +150,7 @@ public class InvocationDirector
|
||||
log.warning("Receiver unregistered for which we have no id to code mapping",
|
||||
"code", receiverCode);
|
||||
} else {
|
||||
// Object decoder = _receivers.remove(rreg.receiverId);
|
||||
_receivers.remove(rreg.receiverId);
|
||||
// Log.info("Cleared receiver " + StringUtil.shortClassName(decoder) +
|
||||
// " " + rreg + ".");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user