Skip to content

Commit

Permalink
Fix small memory leak issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Oct 21, 2019
1 parent d240661 commit 80a8ae5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MenuAPI/MenuController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@ private static void UnloadAssets()
{
SetStreamedTextureDictAsNoLongerNeeded(_texture_dict);
}
if (HasStreamedTextureDictLoaded("mpleaderboard"))
{
SetStreamedTextureDictAsNoLongerNeeded("mpleaderboard");
}
if (HasStreamedTextureDictLoaded("commonmenutu"))
{
SetStreamedTextureDictAsNoLongerNeeded("commonmenutu");
}
}

/// <summary>
Expand Down

0 comments on commit 80a8ae5

Please sign in to comment.