Check if thread is running before passing it to joinThread()
This commit is contained in:
parent
f2ec92a22d
commit
2eb10c5b71
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user