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

Commit 2989545b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "[MTK] [CONVERGENCE] [ALPS08049534] add NULL checker" into main

parents 8a4554cd 5d7906e5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -230,6 +230,8 @@ static void* run_thread(void* start_arg) {

  reactor_object_t* work_queue_object =
          reactor_register(thread->reactor, fd, context, work_queue_read_cb, NULL);
  log::assert_that(work_queue_object != nullptr, "assert failed: work_queue_object != nullptr");

  reactor_start(thread->reactor);
  reactor_unregister(work_queue_object);