(svn r24970) -Fix [FS#5346]: crash when infinite loop occured during loading a script

This commit is contained in:
rubidium
2013-02-05 20:52:28 +00:00
parent dd822fc61e
commit 3b606aa46a

View File

@@ -1190,7 +1190,7 @@ bool SQVM::CallNative(SQNativeClosure *nclosure,SQInteger nargs,SQInteger stackb
throw;
}
assert(cstksize == _callsstacksize);
_callsstacksize = cstksize;
_nnativecalls--;
suspend = false;