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)])
|
brew(appID, gui(App()), icons=[iconsDir], stylesheets=[newStylesheet(gtkCSS)])
|
||||||
|
|
||||||
joinThread(thread)
|
if running(thread):
|
||||||
|
joinThread(thread)
|
||||||
|
Reference in New Issue
Block a user