Freezing/Hanging tkinter GUI in waiting for the thread to complete

For anyone having a problem with sys.exit(1) in @martineau’s code – if you replace sys.exit(1) with self.master.destroy() the program ends gracefully. I lack the reputation to add a comment, hence the seperate answer.

Leave a Comment