1
0
Fork 0

Failed timers should log errors rather than silently eating them.

This commit is contained in:
andy 2004-03-24 18:37:58 +00:00
parent 26137b1eca
commit b3ce2c3cfe

View file

@ -506,6 +506,8 @@ void FGNasalSys::setTimer(naRef args)
void FGNasalSys::handleTimer(NasalTimer* t)
{
naCall(_context, t->handler, naNil(), naNil(), naNil());
if(naGetError(_context))
logError();
gcRelease(t->gcKey);
}