Re: [Mingw-w64-public] hang on exit

2013-12-14 Thread Victor Bombi
Another thing to try would be to define DllMain but it seems not to be called. Why? > FreeLibrary does call destructor in this case. (outputs "1 is joinable") > there are several things to try: > > -dont call new to initialize > -dont call FreeLibrary to unload > (4 different cases) > > in some

Re: [Mingw-w64-public] hang on exit

2013-12-14 Thread Victor Bombi
FreeLibrary does call destructor in this case. (outputs "1 is joinable") there are several things to try: -dont call new to initialize -dont call FreeLibrary to unload (4 different cases) in some cases the hang seems to be on thread:join in others in ioThreadFunc victor - Original Message -