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:
Ray Greenwell
2006-07-06 21:04:17 +00:00
parent 327518de12
commit c3bb221239
@@ -748,9 +748,18 @@ public class GameManager extends PlaceManager
Log.info("Postponing start of still-ending game " +
"[which=" + _gameobj.which() + "].");
_postponedStart = true;
// TEMP: track down weirdness
final Exception firstCall = new Exception();
// End: temp
CrowdServer.omgr.postRunnable(new Runnable() {
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;