mono/MonoGame — pull request #223 by kungfubanana (2012-01-24 05:54:36+00:00)
Title: Mac blocking fixes

### MacGamePlatform
- Now uses NSWindowDelegate implementations for observing MainWindow.
This seems to be more reliable that subscribing to the .Net events
exposed by NSWindow.
- Now tracks current RunState (NotStarted, Running, Exiting, Exited)
- Exposes several run-state-derived properties (IsRunning, IsExiting,
HasExited)

### MacGamePlatform+Synchronous
- Moved all the use-at-your-own-peril Synchronous code into a separate
file (partial class).

### GameWindow
- Now checks for MacGamePlatform.IsRunning before trying to invoke
Game.DoUpdate or Game.DoDraw (to avoid Disposed exceptions).