Calling Game.Exit() in XNA causes the Game.OnExiting event to trigger. This implementation does not.