mirror of https://gitlab.com/litecord/litecord.git
users: properly close underlying websocket when disconnecting
This commit is contained in:
parent
2c7b3f391e
commit
4d7b8f519f
|
|
@ -531,7 +531,7 @@ async def user_disconnect(user_id):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# force a close, 4000 should make the client reconnect.
|
# force a close, 4000 should make the client reconnect.
|
||||||
await state.ws.close(4000)
|
await state.ws.ws.close(4000)
|
||||||
|
|
||||||
|
|
||||||
@bp.route('/@me/delete', methods=['POST'])
|
@bp.route('/@me/delete', methods=['POST'])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue