mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue