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

Commit f3dc1bb6 authored by Kamal Negi's avatar Kamal Negi Committed by android-build-merger
Browse files

Merge "Set alarm's queue to NULL on alarm expired"

am: 563eedbe

Change-Id: Icfe0576b893be813645375f3da234ee7a3fa4455
parents 4ee084ab 563eedbe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -563,6 +563,7 @@ static void alarm_queue_ready(fixed_queue_t* queue, UNUSED_ATTR void* context) {
    alarm->deadline = 0;
    alarm->callback = NULL;
    alarm->data = NULL;
    alarm->queue = NULL;
  }

  std::lock_guard<std::recursive_mutex> cb_lock(*alarm->callback_mutex);