mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
committed by
Andreas Kling
parent
a0ed12e839
commit
44f672bacf
@@ -35,7 +35,7 @@ ConnectionBase::ConnectionBase(IPC::Stub& local_stub, NonnullOwnPtr<Core::LocalS
|
||||
m_send_thread = Threading::Thread::construct([this, queue = m_send_queue]() -> intptr_t {
|
||||
for (;;) {
|
||||
queue->mutex.lock();
|
||||
if (queue->messages.is_empty())
|
||||
while (queue->messages.is_empty() && queue->running)
|
||||
queue->condition.wait();
|
||||
|
||||
if (!queue->running) {
|
||||
|
||||
Reference in New Issue
Block a user