Skip to content

Commit

Permalink
Don't call GameHost.Collect() twice
Browse files Browse the repository at this point in the history
We already trim memory on a `SDL_EVENT_LOW_MEMORY`.
  • Loading branch information
Susko3 committed Apr 30, 2024
1 parent 5071dac commit 53affed
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions osu.Framework.Android/AndroidGameActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@ protected override void OnCreate(Bundle? savedInstanceState)
}
}

public override void OnTrimMemory(TrimMemory level)
{
base.OnTrimMemory(level);
host?.Collect();
}

protected override void OnStop()
{
base.OnStop();
Expand Down

0 comments on commit 53affed

Please sign in to comment.