From 655f084d222bee5ef01b0e2d4e333b362027a6f8 Mon Sep 17 00:00:00 2001 From: milleniumbug Date: Tue, 5 Apr 2016 19:00:46 +0200 Subject: [PATCH] Fixed keeping the mutex while sleeping --- src/debug_clang.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/debug_clang.cc b/src/debug_clang.cc index dd8b765..11585ac 100644 --- a/src/debug_clang.cc +++ b/src/debug_clang.cc @@ -206,6 +206,7 @@ void Debug::Clang::start(const std::string &command, const boost::filesystem::pa Terminal::get().async_print(std::string(buffer, n), true); } } + lock.unlock(); std::this_thread::sleep_for(std::chrono::milliseconds(200)); } });