(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
1 changed files with 1 additions and 1 deletions

View File

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