Nested exception flag is supposed to be cleared when the nested exception unwind goes up the handler which had an exception during its call. The actual crash could happen in inner frame with own exception handlers (which may return ExceptionContinueSearch), currently nested flag will be cleared after the innermost handler is called.