Check if thread is running before passing it to joinThread()
This commit is contained in:
@ -166,4 +166,5 @@ method view(app: AppState): Widget =
|
||||
|
||||
brew(appID, gui(App()), icons=[iconsDir], stylesheets=[newStylesheet(gtkCSS)])
|
||||
|
||||
if running(thread):
|
||||
joinThread(thread)
|
||||
|
Reference in New Issue
Block a user