How have we not previously been screwed by the fact that an Error (like
NoSuchMethodError) sticks a fork in the event dispatcher thread? git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3712 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -282,10 +282,9 @@ public class PresentsDObjectMgr
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.warning("Execution unit failed [unit=" + unit + "].");
|
Log.warning("Execution unit failed [unit=" + unit + "].");
|
||||||
Log.logStackTrace(e);
|
Log.logStackTrace(e);
|
||||||
} catch (OutOfMemoryError oome) {
|
|
||||||
handleFatalError(unit, oome);
|
} catch (Error e) {
|
||||||
} catch (StackOverflowError soe) {
|
handleFatalError(unit, e);
|
||||||
handleFatalError(unit, soe);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// compute the elapsed time in microseconds
|
// compute the elapsed time in microseconds
|
||||||
@@ -425,11 +424,8 @@ public class PresentsDObjectMgr
|
|||||||
", target=" + target + "].");
|
", target=" + target + "].");
|
||||||
Log.logStackTrace(e);
|
Log.logStackTrace(e);
|
||||||
|
|
||||||
} catch (OutOfMemoryError oome) {
|
} catch (Error e) {
|
||||||
handleFatalError(event, oome);
|
handleFatalError(event, e);
|
||||||
|
|
||||||
} catch (StackOverflowError soe) {
|
|
||||||
handleFatalError(event, soe);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// track the number of events dispatched
|
// track the number of events dispatched
|
||||||
|
|||||||
Reference in New Issue
Block a user