1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 05:02:56 +08:00

Merge pull request #29653 from peppy/fix-multiplayer-event-leak

Fix event leak in `Multiplayer` implementation
This commit is contained in:
Dan Balasescu 2024-08-30 16:58:27 +09:00 committed by GitHub
commit ae0931cfc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
base.Dispose(isDisposing);
if (client.IsNotNull())
{
client.RoomUpdated -= onRoomUpdated;
client.GameplayAborted -= onGameplayAborted;
}
}
}
}