vcruntime140_1: Don't terminate on state of -1.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
94b25a47ba
commit
7d2675d199
|
@ -426,7 +426,7 @@ static void cxx_local_unwind4(ULONG64 frame, DISPATCHER_CONTEXT *dispatch,
|
|||
|
||||
TRACE("current level: %d, last level: %d\n", trylevel, last_level);
|
||||
|
||||
if (trylevel<0 || trylevel>=descr->unwind_count)
|
||||
if (trylevel<-1 || trylevel>=descr->unwind_count)
|
||||
{
|
||||
ERR("invalid trylevel %d\n", trylevel);
|
||||
terminate();
|
||||
|
|
Loading…
Reference in New Issue