winmm: do not unload drivers when the process is terminating [2/2]

Lei Zhang thestig at
Tue Dec 4 21:33:54 CST 2007


When winmm's DllMain gets called with fdwReason == DLL_PROCESS_DETACH,
and fImpLoad != NULL, then we should not try to unload the drivers,
because we may call the DriverProc() for a driver that has already
been unloaded earlier.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-winmm-do-not-unload-drivers-when-the-process-is-terminating.txt

More information about the wine-patches mailing list