[Bug 20711] Flatout2 demo crashes on exit

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 29 01:13:18 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=20711





--- Comment #21 from Markus <mst at collogia.de>  2010-03-29 01:13:18 ---
> Do we really need to unload the library if it isn't loaded anymore?

Finally got the idea. Nevertheless using GetModuleHandle leaves a bad taste. We
cannot rely on the library existence between the two calls in a multithreading
environment. To be sure one needs to call GetModuleHandleEx using the increment
counter. So we once again have the FreeLibrary Call.

Do you think this would be a possible solution?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list