https://bugs.winehq.org/show_bug.cgi?id=49532
--- Comment #20 from Dmitry Timoshkov dmitry@baikal.ru --- This is a resurrection of the bug 42470 that was previously fixed by 7def0f200f117a5a72ce454004ac4fd600ef8a4b.
Probably the fix could be similar: don't block if RtlDllShutdownInProgress() returns TRUE.