I’ve started new project (my first one). I performed some basic draw operations and input calls. Now I’ve tried to Exit from the game but when calling Exit from within Game.Update function im getting ‘Catastrophic failure’ exception. Also Game.OnExiting override is not called.
Call stack on exception is following:
| |MonoGame.Framework.dll!Microsoft.Xna.Framework.Game.Run(Microsoft.Xna.Framework.GameRunBehavior runBehavior)|Unknown|
Any ideas what I do wrong or how to debug problem? I removed almost all initialization and drawing procedures and still have this behaviour.
Thanks in advance.