From 551326910cac2af04662fff7510b8fb35cc37df8 Mon Sep 17 00:00:00 2001 From: Jamie Doornbos Date: Thu, 24 Jul 2008 21:01:00 +0000 Subject: [PATCH] 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 --- src/java/com/threerings/bureau/server/BureauRegistry.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/java/com/threerings/bureau/server/BureauRegistry.java b/src/java/com/threerings/bureau/server/BureauRegistry.java index 13d8ab02f..6cbf0b40a 100644 --- a/src/java/com/threerings/bureau/server/BureauRegistry.java +++ b/src/java/com/threerings/bureau/server/BureauRegistry.java @@ -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");