Browse Source

Handle broadcasts to zero clients

Fixes #88
pull/91/head
Miguel Grinberg 8 years ago
parent
commit
af0004d78e
  1. 1
      socketio/asyncio_manager.py

1
socketio/asyncio_manager.py

@ -23,6 +23,7 @@ class AsyncManager(BaseManager):
id = None
tasks.append(self.server._emit_internal(sid, event, data,
namespace, id))
if tasks != []:
await asyncio.wait(tasks)
async def close_room(self, room, namespace):

Loading…
Cancel
Save