May 15, 2025
1:45 p.m.
I hope I read the code right: if `DLL_PROCESS_ATTACH` fails, `DllMain` will immediately be called again with `DLL_PROCESS_DETACH`, which will try to destroy the already destroyed `PSDRV_Heap`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8019