public override void Exit()
{
//(SJ) Why is this called here when it's not in any other project
//Net.NetworkSession.Exit();
Interlocked.Increment(ref isExiting);
// sound controller must be disposed here
// so that it doesn't stop the game from disposing
if (soundControllerInstance != null)
{
soundControllerInstance.Dispose();
soundControllerInstance = null;
}
OpenTK.DisplayDevice.Default.RestoreResolution();
}