Commit 633c3cb0 authored by Alexandre Julliard's avatar Alexandre Julliard

wnaspi32: Don't bother to delete critical sections at process exit.

parent 03041b93
......@@ -76,6 +76,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
SCSI_Init();
break;
case DLL_PROCESS_DETACH:
if (fImpLoad) break;
DeleteCriticalSection( &ASPI_CritSection );
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