mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-20 13:28:13 +03:00
parent
a0ed12e839
commit
44f672bacf
Notes:
github-actions[bot]
2024-09-21 13:51:02 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/44f672bacf6 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1470
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user