23 Oct
2025
23 Oct
'25
6:46 p.m.
Yuxuan Shui (@yshui) commented about dlls/winecrt0/crt_dllmain.c:
+ { + fnptr *current = __xt_a; + + while (current < __xt_z) + { + if (*current) + (*current)(); + current++; + } + } +#endif +} + BOOL WINAPI DllMainCRTStartup( HINSTANCE inst, DWORD reason, void *reserved ) { + do_global_ctors_dtors( reason ); dtor might need to be called after `DllMain`.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9265#note_119481