mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2025-04-20 01:26:43 +00:00
close client on server shutdown
This commit is contained in:
parent
df94b4872c
commit
2ee871fd81
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ class Application(web.Application):
|
|||
|
||||
self["starttime"] = None
|
||||
self["running"] = False
|
||||
await self["client"].close()
|
||||
self["cleanup_thread"].stop()
|
||||
self["database"].disconnect()
|
||||
self["cache"].close()
|
||||
|
|
Loading…
Reference in a new issue