1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 07:47:27 +08:00

Merge pull request #20359 from smoogipoo/fix-room-component-memory-leak

Fix memory leak due to missing event unbind
This commit is contained in:
Dean Herbert 2022-09-18 14:59:05 +09:00 committed by GitHub
commit ada4b97ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
if (Client != null)
{
Client.RoomUpdated -= invokeOnRoomUpdated;
Client.LoadRequested -= invokeOnRoomLoadRequested;
Client.UserLeft -= invokeUserLeft;
Client.UserKicked -= invokeUserKicked;
Client.UserJoined -= invokeUserJoined;