diff options
Diffstat (limited to 'storageframework')
-rw-r--r-- | storageframework/src/vespa/storageframework/generic/thread/thread.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/storageframework/src/vespa/storageframework/generic/thread/thread.cpp b/storageframework/src/vespa/storageframework/generic/thread/thread.cpp index 2a53b1de329..24ed28d077b 100644 --- a/storageframework/src/vespa/storageframework/generic/thread/thread.cpp +++ b/storageframework/src/vespa/storageframework/generic/thread/thread.cpp @@ -20,9 +20,7 @@ void Thread::interruptAndJoin(std::condition_variable &cv) { interrupt(); - { - cv.notify_all(); - } + cv.notify_all(); join(); } |