Skip to content

Commit

Permalink
it's probably neater to join a finished thread in Updater
Browse files Browse the repository at this point in the history
  • Loading branch information
Noiredd committed May 31, 2020
1 parent fd121b9 commit cf0e62e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion filmatyk/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def checkUpdates(self):
self.__checkThread()
def __checkThread(self):
if self.checked_flag:
# thread has finished - do something with the results
# thread has finished - clean up and do something with the results
self.thread.join()
if self.update_available:
doUpdate = messagebox.askyesno(self.update_ready_string, self.update_question_string)
if doUpdate:
Expand Down

0 comments on commit cf0e62e

Please sign in to comment.