mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Explicity dispose osuGame instances
This commit is contained in:
@ -51,7 +51,10 @@ namespace osu.Game.Tests.Visual.Menus
|
||||
AddStep("Create new game instance", () =>
|
||||
{
|
||||
if (osuGame != null)
|
||||
{
|
||||
Remove(osuGame);
|
||||
osuGame.Dispose();
|
||||
}
|
||||
|
||||
osuGame = new TestOsuGame();
|
||||
osuGame.SetHost(gameHost);
|
||||
|
Reference in New Issue
Block a user