(svn r24970) -Fix [FS#5346]: crash when infinite loop occured during loading a script
This commit is contained in:
2
src/3rdparty/squirrel/squirrel/sqvm.cpp
vendored
2
src/3rdparty/squirrel/squirrel/sqvm.cpp
vendored
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user