This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 4d72fcdc13f2994398e626787afbfa6d983809ac Author: Sebb <s...@apache.org> AuthorDate: Wed Feb 2 12:35:59 2022 +0000 Ensure backround task is stopped --- server/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/main.py b/server/main.py index 8dc324e..c8e5bd3 100644 --- a/server/main.py +++ b/server/main.py @@ -247,6 +247,7 @@ class Server(plugins.server.BaseServer): try: loop.run_until_complete(self.server_loop()) except KeyboardInterrupt: + self.background_event.set() loop.run_until_complete(self.cleanup()) loop.close()