Bureau registry doesn't need to listen for client object death now that it listens for the end of a session. This was causing a warning in the log when the bureau was not found on the second call to clientDestroyed

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5262 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jamie Doornbos
2008-07-24 21:01:00 +00:00
parent 0a46e0b742
commit 551326910c
@@ -36,8 +36,6 @@ import com.samskivert.util.ProcessLogger;
import com.threerings.presents.annotation.MainInvoker;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.dobj.ObjectDeathListener;
import com.threerings.presents.dobj.ObjectDestroyedEvent;
import com.threerings.presents.dobj.RootDObjectManager;
import com.threerings.presents.server.ClientManager;
import com.threerings.presents.server.InvocationManager;
@@ -366,12 +364,6 @@ public class BureauRegistry
bureau.clientObj = client;
bureau.clientObj.addListener(new ObjectDeathListener() {
public void objectDestroyed (ObjectDestroyedEvent e) {
BureauRegistry.this.clientDestroyed(bureau);
}
});
log.info("Bureau created " + StringUtil.toString(bureau) +
", launching pending agents");