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

This commit is contained in:
Alexandre Julliard 2013-05-16 12:55:22 +02:00
parent 03041b93ba
commit 633c3cb086
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}