mirror of
https://github.com/maubot/maubot
synced 2025-09-05 02:30:38 +00:00
Add some backup checks when stopping maubot
This commit is contained in:
parent
20a9ca6aa6
commit
6f2162d5f3
3 changed files with 10 additions and 3 deletions
|
@ -99,6 +99,7 @@ class MaubotServer:
|
|||
self.log.info(f"Listening on {site.name}")
|
||||
|
||||
async def stop(self) -> None:
|
||||
await self.runner.shutdown()
|
||||
await self.runner.cleanup()
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue