Application using Mali_OpenGL_ES_Emulator-v3 crashes on close

The OpenGL ES emulator is a very good thing - it is convenient to debug most of an application on Windows, not on hardware.
But I have a problem - when I close the application window in Windows (running from Visual Studio 2019 debugger), the application crashes in some system dll. This is inconvenient.

I want to see how to write applications that work on Windows correctly, maybe I'm doing something wrong.

Unfortunately, I have not found the source code of the example "Mali Cube". Where can I download it?

Perhaps there are some other examples that use Mali_OpenGL_ES_Emulator-v3 and compile for Visual Studio 2019?

More questions in this forum