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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user