From bee11a25041ec14f7c33b8aa503077b954809421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lien=20Sell=C3=A6g?= Date: Tue, 26 May 2015 12:58:52 +0200 Subject: [PATCH] move lock --- juci/window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/juci/window.cc b/juci/window.cc index 64f3c92..063daad 100644 --- a/juci/window.cc +++ b/juci/window.cc @@ -76,9 +76,9 @@ Window::Window() : std::string executable = notebook_.directories(). GetCmakeVarValue(path,"add_executable"); terminal_.Run(executable); + running.unlock(); }); execute.detach(); - running.unlock(); } }); @@ -99,9 +99,9 @@ Window::Window() : terminal_.SetFolderCommand(path); } terminal_.Compile(); + running.unlock(); }); execute.detach(); - running.unlock(); } }); this->signal_button_release_event().