在 2026-9-21 19:15, Pali Rohár 写道:
So... If I understand correctly, this problem happens because the __attribute__((destructor)) functions are called from the main thread during exiting the process and at the same time are still running other threads, right?I would try to think how to address this issue. Maybe I come up with something.
IIRC the discussion on IRC is that the destructor can be executed while other threads are running so they access a destroyed `CRITICAL_SECTION`.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
