Added some code to save a stacktrace from the first call to startGame()
if we do the postponey business and find things still booched after that. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@9 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -748,9 +748,18 @@ public class GameManager extends PlaceManager
|
|||||||
Log.info("Postponing start of still-ending game " +
|
Log.info("Postponing start of still-ending game " +
|
||||||
"[which=" + _gameobj.which() + "].");
|
"[which=" + _gameobj.which() + "].");
|
||||||
_postponedStart = true;
|
_postponedStart = true;
|
||||||
|
// TEMP: track down weirdness
|
||||||
|
final Exception firstCall = new Exception();
|
||||||
|
// End: temp
|
||||||
CrowdServer.omgr.postRunnable(new Runnable() {
|
CrowdServer.omgr.postRunnable(new Runnable() {
|
||||||
public void run () {
|
public void run () {
|
||||||
startGame();
|
boolean result = startGame();
|
||||||
|
// TEMP: track down weirdness
|
||||||
|
if (!result && !_postponedStart) {
|
||||||
|
Log.warning("First call to startGame: ");
|
||||||
|
Log.logStackTrace(firstCall);
|
||||||
|
}
|
||||||
|
// End: temp
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user