1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 21:40:44 +08:00

Fix leak from inverted event unbind

This commit is contained in:
Dan Balasescu
2025-07-07 23:00:59 +09:00
Unverified
parent 321707590a
commit 8298374e59
+1 -1
View File
@@ -151,7 +151,7 @@ namespace osu.Game.Online
base.Dispose(isDisposing);
if (notificationsClient.IsNotNull())
notificationsClient.MessageReceived += notifyAboutForcedDisconnection;
notificationsClient.MessageReceived -= notifyAboutForcedDisconnection;
if (spectatorClient.IsNotNull())
spectatorClient.Disconnecting -= notifyAboutForcedDisconnection;