wnaspi32: Don't bother to delete critical sections at process exit.
This commit is contained in:
parent
03041b93ba
commit
633c3cb086
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue