users: properly close underlying websocket when disconnecting

This commit is contained in:
Luna 2019-09-13 21:45:08 -03:00
parent 2c7b3f391e
commit 4d7b8f519f
1 changed files with 1 additions and 1 deletions

View File

@ -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'])