Commit b30160f6 authored by Alexandre Julliard's avatar Alexandre Julliard

ntoskrnl.exe: Don't bother to remove exception handler at process exit.

parent 3181d913
......@@ -1861,6 +1861,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
KeQueryTickCount( &count ); /* initialize the global KeTickCount */
break;
case DLL_PROCESS_DETACH:
if (reserved) break;
RtlRemoveVectoredExceptionHandler( handler );
break;
}
......
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