Visual Studio 17.13.6 Qt cleanup not working
-
I think this is related to a recent version of Visual C++
I'm been working almost exclusively on Mac and Linux lately.
Now I'm doing some work on Windows, I found that one of my classes which relied on its dtor to clean some things up at program termination, had stopped doing so. I had to move the code into a function setup to be invoked by the atexit() handler which I should not have needed to do. If opened a VC++ problem report:
https://developercommunity.visualstudio.com/t/Destructor-for-object-of-in-global-scope/10884627
I also use Visual Leak Detector and now when I close the programme I get loads of memory leak reports that I didn't before. The leaked blocks look very like Qt stuff.
I think the two issues are very firmly related.