summaryrefslogtreecommitdiff
path: root/src/libcamera/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/thread.cpp')
-rw-r--r--src/libcamera/thread.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcamera/thread.cpp b/src/libcamera/thread.cpp
index 6f86e4a9..24422f7b 100644
--- a/src/libcamera/thread.cpp
+++ b/src/libcamera/thread.cpp
@@ -212,10 +212,8 @@ int Thread::exec()
locker.unlock();
- while (!data_->exit_.load(std::memory_order_acquire)) {
- dispatchMessages();
+ while (!data_->exit_.load(std::memory_order_acquire))
dispatcher->processEvents();
- }
locker.lock();