Skip to content

Commit

Permalink
[resotoshell][fix] shutdown the client thread (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
meln1k committed May 4, 2022
1 parent 95fd4d2 commit c7a7165
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resotoshell/resotoshell/__main__.py
Expand Up @@ -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)
Expand Down

0 comments on commit c7a7165

Please sign in to comment.