Commit fdcdbf30 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Restore exception object stored in thread storage after frames unwinding.

parent 3350364d
......@@ -450,6 +450,7 @@ static inline void call_catch_block( PEXCEPTION_RECORD rec, cxx_exception_frame
RtlUnwind( catch_frame ? catch_frame : &frame->frame, 0, rec, 0 );
cxx_local_unwind( frame, descr, tryblock->start_level );
frame->trylevel = tryblock->end_level + 1;
msvcrt_get_thread_data()->exc_record = rec;
/* call the catch block */
TRACE( "calling catch block %p addr %p ebp %p\n",
......
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