mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 09:22:58 +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:
parent
60c1e0fa72
commit
3bc42db3a6
@ -108,7 +108,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
if (client.IsNotNull())
|
||||
{
|
||||
client.RoomUpdated -= onRoomUpdated;
|
||||
client.GameplayAborted -= onGameplayAborted;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user