From 30d7bc4be38ea5a0b4a3ebca6da18beda91a8c38 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 2 Aug 2007 19:12:08 +0000 Subject: [PATCH] When we add a chat display, we must remove it once we're done. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@397 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/as/com/threerings/ezgame/client/GameControlBackend.as | 1 + 1 file changed, 1 insertion(+) diff --git a/src/as/com/threerings/ezgame/client/GameControlBackend.as b/src/as/com/threerings/ezgame/client/GameControlBackend.as index 8ca2e583..7b27d945 100644 --- a/src/as/com/threerings/ezgame/client/GameControlBackend.as +++ b/src/as/com/threerings/ezgame/client/GameControlBackend.as @@ -127,6 +127,7 @@ public class GameControlBackend public function shutdown () :void { _ezObj.removeListener(this); + _ctx.getChatDirector().removeChatDisplay(this); _ctx.getClient().getClientObject().removeListener(_userListener); _userFuncs = null; // disconnect