mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-06 18:32:50 +08:00
set message handle to nil after delete
This commit is contained in:
@@ -127,6 +127,7 @@ func registerHandlers() {
|
||||
}
|
||||
_ = room.room.Disconnect()
|
||||
room.room.OnStatusChange(nil)
|
||||
room.room.OnMessage(nil)
|
||||
delete(liveRooms, data.Identifier)
|
||||
log.Infof("success remove live room %s", data.Identifier)
|
||||
sendRoomsUpdateEvent()
|
||||
|
||||
Reference in New Issue
Block a user