Add explicit GC.Collect in Sample
There's a large image loaded as the backdrop. Let's help the GC a bit by collecting after we've done so. This should help Bugzilla #40036.
This commit is contained in:
Родитель
fc259af90a
Коммит
20a45e5293
|
@ -50,6 +50,8 @@ namespace Cheesesquare
|
|||
|
||||
var r = Cheeses.GetRandomCheeseBackground ();
|
||||
imageView.SetImageResource (r);
|
||||
|
||||
GC.Collect ();
|
||||
}
|
||||
|
||||
public override bool OnCreateOptionsMenu(IMenu menu)
|
||||
|
|
Загрузка…
Ссылка в новой задаче