Skip to content

Commit

Permalink
Fixed double close of websockets in ASGI adapter (Fixes #327)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Aug 21, 2023
1 parent dccf22e commit e629eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engineio/async_drivers/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ async def __call__(self, environ):
await self.handler(self)

async def close(self):
await self.asgi_send({'type': 'websocket.close'})
pass

async def send(self, message):
msg_bytes = None
Expand Down

0 comments on commit e629eee

Please sign in to comment.