CartBlanche / MonoGame-Samples

All the Samples that work with MonoGame
https://github.com/MonoGame/MonoGame
712 stars 354 forks source link

Updates sample/tests projects for strict disposal #8

Closed ghost closed 12 years ago

ghost commented 12 years ago

Game is now quite strict about not being used after it has been Disposed, so it was necessary to update all the tests and samples that had using-blocks around asynchronous Game.Run calls, or which didn't keep a strong reference to the Game object after creation.

These updates support MonoGame Pull Request 219.