http://bugs.winehq.org/show_bug.cgi?id=59178 --- Comment #4 from mkrsym1@gmail.com --- Created attachment 80145 --> http://bugs.winehq.org/attachment.cgi?id=80145 0001-ntdll-Avoid-threadpool-deadlock-on-process-terminati.patch I have implemented a workaround to prevent the specific hang in question by checking whether the process is terminating. This prevents test.c (and the game) from hanging, but test_term.c is still bugged. A proper fix would require somehow tracking which threads are dead, and which objects did they die with, which seems rather complicated given the current implementation. It also raises further questions (does Windows restart dead workers?) I am not proud of this thing in the slightest, but maybe it can go into Staging? It does fix the specific observed issue this bug was opened for, it is closer to Windows behavior (somewhat), and I don't think it can break anything. -- 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.