Start transactions outside of the try-finally clause so that if there

is a problem with starting a transaction, we don't get an exception
for failing to commit the transaction.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2712 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2003-07-16 18:03:30 +00:00
parent 2726f6a29d
commit 829f3ad0eb
4 changed files with 30 additions and 24 deletions
@@ -1,5 +1,5 @@
//
// $Id: GameManager.java,v 1.66 2003/06/29 23:11:23 mdb Exp $
// $Id: GameManager.java,v 1.67 2003/07/16 18:03:30 ray Exp $
package com.threerings.parlor.game;
@@ -659,8 +659,8 @@ public class GameManager extends PlaceManager
return;
}
_gameobj.startTransaction();
try {
_gameobj.startTransaction();
// let the derived class do its pre-end stuff
gameWillEnd();