Python destructors not called in Visual Studio 2017
When I run a python program from VS2017-Pro using the debugger, the destructor is not called automatically when the program exits. If the python program is executed directly from a command prompt, the destructor is called.
Here’s a code snippet: