Commit 94b25a47 authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

vcruntime140_1: Skip unwind if already at last level.

parent 0f15bfee
......@@ -432,6 +432,8 @@ static void cxx_local_unwind4(ULONG64 frame, DISPATCHER_CONTEXT *dispatch,
terminate();
}
if (trylevel <= last_level) return;
unwind_data = rva_to_ptr(descr->unwind_map, dispatch->ImageBase);
last = unwind_data;
for (i = 0; i < trylevel; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment