We need to be shutdown now so that we can clean up our invocation service.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@259 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -81,6 +81,18 @@ public class TableManager
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This must be called when the table manager is no longer needed.
|
||||
*/
|
||||
public void shutdown ()
|
||||
{
|
||||
CrowdServer.invmgr.clearDispatcher(_tlobj.getTableService());
|
||||
_tlobj.setTableService(null);
|
||||
if (_dobj instanceof PlaceObject) {
|
||||
_dobj.removeListener(this);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the subclass of Table that this instance should generate.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user