private void albumPivot_UnloadingPivotItem(object sender, PivotItemEventArgs e) { if (e.Item != null) { ClearItem(e.Item); if(_gcCount <= 0) Task.Factory.StartNew(RunGC, TaskCreationOptions.LongRunning); } }