Throw an exception, not a pointer to one

It will probably work better.
Esse commit está contido em:
mwilliams
2013-06-19 19:44:54 -07:00
commit de Sara Golemon
commit 26396ca0e1
@@ -120,8 +120,8 @@ void c_RescheduleWaitHandle::exitContext(context_idx_t ctx_idx) {
}
if (UNLIKELY(getState() != STATE_SCHEDULED)) {
throw new FatalErrorException(
"Invariant violation: encountered unexpected state");
throw FatalErrorException(
"Invariant violation: encountered unexpected state");
}
// move us to the parent context