forked from MonoGame/MonoGame
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WP8] fix memory leak when Resume game
ContentManager & ContentReaders was creating new instances during AssetReload. The problem was with SoundEffectReader, VertexBufferReader and generally with Shared resources like VertexBuffer, IndexBuffer, Effect. The problem was previously reported here: MonoGame#1771 http://community.monogame.net/t/sharpdx-crashing-the-app-after-having-resumed-a-few-times/813/10 Tested on WP8.
- Loading branch information
Showing
4 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters