My Application can run smoothly using game loop, except when I click on task bar function (e.g. volume control) and my application exit unexpectedly.
and I notice that memory used hasn't been deleted yet,
after the unexpected exit.
I realise that i may need to stop gameloop from drawing on the screen but is there any way that I'll be able to know when to resume gameloop ?
If it is not caused by gameloop drawing on the window,
any idea what cause this abnormal behaviour ?
and I notice that memory used hasn't been deleted yet,
after the unexpected exit.
I realise that i may need to stop gameloop from drawing on the screen but is there any way that I'll be able to know when to resume gameloop ?
If it is not caused by gameloop drawing on the window,
any idea what cause this abnormal behaviour ?