Idempotency is always handy.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@264 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -86,11 +86,15 @@ public class TableManager
|
||||
*/
|
||||
public void shutdown ()
|
||||
{
|
||||
CrowdServer.invmgr.clearDispatcher(_tlobj.getTableService());
|
||||
_tlobj.setTableService(null);
|
||||
if (_tlobj != null) {
|
||||
CrowdServer.invmgr.clearDispatcher(_tlobj.getTableService());
|
||||
_tlobj.setTableService(null);
|
||||
}
|
||||
if (_dobj instanceof PlaceObject) {
|
||||
_dobj.removeListener(this);
|
||||
}
|
||||
_tlobj = null;
|
||||
_dobj = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user