Skip to content

Commit

Permalink
Exit when main loop crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
hifiberry committed Apr 2, 2024
1 parent 3134218 commit 5d30fd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions audiocontrol2.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ def main():
logging.exception(e)

logging.info("Main thread stopped")
system.exit(1)


main()

0 comments on commit 5d30fd8

Please sign in to comment.