one strange thing i noticed which might be interresting is that i use the TDM compiler (modified version by me) with msys2 and the static runtime version of wxwidgets 3.2 works out of the box with the autotools build
![Shocked :o](https://forums.codeblocks.org/Smileys/default/shocked.gif)
has'nt crashed once on me.
but if i use the standard windows build with the batch files it goes ape huh.
the TDM build i use was made for msys2 and unless using -static-libgcc -static-libstdc++ it works just like the normal msys2 mingw builds.
other than that i fixed a bug with the cleanup function which was leaking path handles to the exception mechanism if it failed to run and i changed the _onexit routine running the cleanup function to atexit using a wrapper.