summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/JackDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/JackDriver.cpp b/src/server/JackDriver.cpp
index ad68b64d..32dd625f 100644
--- a/src/server/JackDriver.cpp
+++ b/src/server/JackDriver.cpp
@@ -174,7 +174,7 @@ JackDriver::deactivate()
if (_is_activated) {
_flag = true;
_is_activated = false;
- _sem.wait();
+ _sem.timed_wait(1000);
for (auto& p : _ports) {
unregister_port(p);