Commit 8fbd7d3b by Chif Gergő

Fix disconnect

parent df12a335
Pipeline #1078 passed with stage
in 1 minute 40 seconds
......@@ -16,7 +16,7 @@ class StatusConsumer(WebsocketConsumer):
self.channel_name
)
def disconnect(self):
def disconnect(self, close_code):
instances = Instance.objects.all()
for inst in instances:
async_to_sync(self.channel_layer.group_discard)(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment