From c7a71655f01333430068dd062091e52388bd6070 Mon Sep 17 00:00:00 2001 From: Nikita Melkozerov Date: Wed, 4 May 2022 15:50:18 +0200 Subject: [PATCH] [resotoshell][fix] shutdown the client thread (#839) --- resotoshell/resotoshell/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resotoshell/resotoshell/__main__.py b/resotoshell/resotoshell/__main__.py index a85d03954..cd9cf1e89 100644 --- a/resotoshell/resotoshell/__main__.py +++ b/resotoshell/resotoshell/__main__.py @@ -45,6 +45,7 @@ def main() -> None: handle_from_stdin(client) else: repl(client, args) + client.shutdown() resotolib.proc.kill_children(resotolib.proc.SIGTERM, ensure_death=True) log.debug("Shutdown complete") sys.exit(0)