1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 11:22:55 +08:00

Fix event leak in Multiplayer implementation

Very likely closes #29088. It's the only thing I could find odd in the
memory dump.
This commit is contained in:
Dean Herbert 2024-08-30 16:13:30 +09:00
parent 60c1e0fa72
commit 3bc42db3a6
No known key found for this signature in database

View File

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