Freak not out if we're shutdown before all of our games are ended.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@265 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -361,6 +361,11 @@ public class TableManager
|
||||
*/
|
||||
protected void unmapTable (int gameOid)
|
||||
{
|
||||
// if we've been shutdown, then we've got nothing to worry about
|
||||
if (_tlobj == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Table table = _goidMap.get(gameOid);
|
||||
if (table != null) {
|
||||
purgeTable(table);
|
||||
@@ -374,6 +379,11 @@ public class TableManager
|
||||
*/
|
||||
protected void updateOccupants (int gameOid)
|
||||
{
|
||||
// if we've been shutdown, then we've got nothing to worry about
|
||||
if (_tlobj == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Table table = _goidMap.get(gameOid);
|
||||
if (table == null) {
|
||||
Log.warning("Unable to find table for running game [gameOid=" + gameOid + "].");
|
||||
|
||||
Reference in New Issue
Block a user