Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43374ce9 authored by Tom Cherry's avatar Tom Cherry
Browse files

init: fix StopSendingMessages()

A typo made this function a no-op.

Bug: 150863651
Test: CF responds to messages appropriately
Merged-In: Iaae0264fae3f2b899ceb5ba0364a4773df1f7ca3
Change-Id: Iaae0264fae3f2b899ceb5ba0364a4773df1f7ca3
(cherry picked from commit 68855276)
parent 9c83185c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ void StartSendingMessages() {

void StopSendingMessages() {
    auto lock = std::lock_guard{accept_messages_lock};
    accept_messages = true;
    accept_messages = false;
}

bool CanReadProperty(const std::string& source_context, const std::string& name) {