feat: stop websocket when extension is un-installed
This commit is contained in:
parent
fb888c1c3d
commit
80125a7d71
1 changed files with 1 additions and 1 deletions
|
|
@ -743,5 +743,5 @@ async def api_stop(wallet: WalletTypeInfo = Depends(check_admin)):
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logger.warning(ex)
|
logger.warning(ex)
|
||||||
|
|
||||||
# todo: close websocket
|
nostr_client.stop()
|
||||||
return {"success": True}
|
return {"success": True}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue