Add comment

This commit is contained in:
Dean Herbert 2017-05-31 11:02:26 +09:00 committed by GitHub
parent dee9d0e3bd
commit b61452024a
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ protected override bool OnExiting(Screen next)
if (base.OnExiting(next)) if (base.OnExiting(next))
return true; return true;
// while this is not necessary as we are constructing our own bindable, there are cases where
// the GC doesn't run as fast as expected and this is triggered post-exit.
beatmap.ValueChanged -= OnBeatmapChanged; beatmap.ValueChanged -= OnBeatmapChanged;
return false; return false;