(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 495b7fa1eb
commit 124f0fc7a3

View File

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