This change has no real effect on wine itself (since it's written in C, not C++), but helps make winelib .dll.so and .exe.so better match the lifetimes (order of destruction) seen in by MinGW/PE dlls. And it makes them match by actually things the same way (the C++ runtime generally implements destructors by using a DllMainCRTStartup intercept).