diff --git a/layoutSwitcher.nim b/layoutSwitcher.nim index 914f814..72add27 100644 --- a/layoutSwitcher.nim +++ b/layoutSwitcher.nim @@ -166,4 +166,5 @@ method view(app: AppState): Widget = brew(appID, gui(App()), icons=[iconsDir], stylesheets=[newStylesheet(gtkCSS)]) -joinThread(thread) +if running(thread): + joinThread(thread)