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).