diff --git a/wshandler/wshandler.go b/wshandler/wshandler.go index 62fef08..5ff3be0 100644 --- a/wshandler/wshandler.go +++ b/wshandler/wshandler.go @@ -339,6 +339,7 @@ func (sh *subhandler) mainLoop(ctx context.Context) { room = makeRoom(name, roomDestroyChan) rooms[name] = room room.start(ctx) + go sh.callReceiver.OnRoomCreated(sh.region, name) } return room }