19 Jun
2024
19 Jun
'24
4:43 p.m.
On Wed Jun 19 16:43:06 2024 +0000, Jinoh Kang wrote:
For C++ DLLs we need to handle destructors as well, otherwise they won't clean up properly on DLL detach and lead to subtle crashes depending on app logic. As far as I understand, except for GNU `__attribute__((destructor))`, the cleanup is registered with `atexit` instead, so it doesn't look like it needs destructors support? MinGW runtime doesn't seem to have them (or maybe I just didn't find them).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5809#note_73755