다시 count 제거
This commit is contained in:
@ -362,7 +362,7 @@ func (sh *subhandler) mainLoop(ctx context.Context) {
|
||||
findRoom := func(name string, create bool) *room {
|
||||
room := rooms[name]
|
||||
if room == nil && create {
|
||||
room = makeRoom(name, sh.redisSync, roomDestroyChan, sh.sendMsgChan)
|
||||
room = makeRoom(name, roomDestroyChan, sh.sendMsgChan)
|
||||
rooms[name] = room
|
||||
room.start(ctx)
|
||||
go sh.callReceiver.OnRoomCreated(sh.region, name)
|
||||
|
||||
Reference in New Issue
Block a user