mirror of
https://github.com/osukey/osukey.git
synced 2025-06-03 20:07:18 +09:00
Dispose cancellation token source on disposal
This commit is contained in:
parent
76c293b9e9
commit
129c290ca0
@ -94,5 +94,11 @@ namespace osu.Game.Overlays.Profile.Header
|
||||
Hide();
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
cancellationTokenSource?.Cancel();
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user