feat: stop websocket when extension is un-installed

This commit is contained in:
Vlad Stan 2023-03-16 16:32:46 +02:00
parent fb888c1c3d
commit 80125a7d71

View file

@ -743,5 +743,5 @@ async def api_stop(wallet: WalletTypeInfo = Depends(check_admin)):
except Exception as ex:
logger.warning(ex)
# todo: close websocket
nostr_client.stop()
return {"success": True}