다시 count 제거

This commit is contained in:
2023-08-06 12:41:47 +09:00
parent 6f9f791f02
commit 1a7df89c47
2 changed files with 2 additions and 7 deletions

View File

@ -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)