diff options
author | David Robillard <d@drobilla.net> | 2013-12-30 02:30:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-12-30 02:30:40 +0000 |
commit | d88c1ffb6a725ba66ca85ad2410e4f45ddb7afbc (patch) | |
tree | 4a5dafd185dd6dc69e1b1de4d65375606a757599 /src/server | |
parent | 927a89c98b6e55305bfe7853906f2b5cc13f463f (diff) | |
download | ingen-d88c1ffb6a725ba66ca85ad2410e4f45ddb7afbc.tar.gz ingen-d88c1ffb6a725ba66ca85ad2410e4f45ddb7afbc.tar.bz2 ingen-d88c1ffb6a725ba66ca85ad2410e4f45ddb7afbc.zip |
Fix deadlocks on exit.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5225 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/JackDriver.cpp | 2 |
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); |