http://bugs.winehq.org/show_bug.cgi?id=28597
--- Comment #9 from Jörg Höhle hoehle@users.sourceforge.net 2011-11-04 16:15:55 CDT --- How can you expect winmm to shut down properly when there's no mechanism in WINMM_DevicesThreadProc to stop? That thread runs forever. So it's actually surprising we don't see random crashes from that thread when winmm is forcefully unloaded when the app exits.