mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 03:27:25 +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:
commit
ada4b97ebd
@ -110,6 +110,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
if (Client != null)
|
if (Client != null)
|
||||||
{
|
{
|
||||||
Client.RoomUpdated -= invokeOnRoomUpdated;
|
Client.RoomUpdated -= invokeOnRoomUpdated;
|
||||||
|
Client.LoadRequested -= invokeOnRoomLoadRequested;
|
||||||
Client.UserLeft -= invokeUserLeft;
|
Client.UserLeft -= invokeUserLeft;
|
||||||
Client.UserKicked -= invokeUserKicked;
|
Client.UserKicked -= invokeUserKicked;
|
||||||
Client.UserJoined -= invokeUserJoined;
|
Client.UserJoined -= invokeUserJoined;
|
||||||
|
Loading…
Reference in New Issue
Block a user