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

Commit 4887ee95 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix stack manager coverity issue - not free after bt on/off" into main

parents e40b1345 6aa0409c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -375,6 +375,8 @@ static void event_shut_down_stack(ProfileStopCallback stopProfiles) {

  do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_disable));

  btif_dm_cleanup();

  future_await(local_hack_future);
  local_hack_future = future_new();
  hack_future = local_hack_future;