winealsa.drv: Don't unset Spare[0] when deleting static critical sections.
This commit is contained in:
parent
9b3bda2b5d
commit
97283f8b8d
|
@ -228,7 +228,6 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DLL_PROCESS_DETACH:
|
case DLL_PROCESS_DETACH:
|
||||||
g_sessions_lock.DebugInfo->Spare[0] = 0;
|
|
||||||
DeleteCriticalSection(&g_sessions_lock);
|
DeleteCriticalSection(&g_sessions_lock);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue