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

Commit 8a7e760f authored by En-Shuo Hsu's avatar En-Shuo Hsu
Browse files

Floss: set |a2dp_uipc| to nullptr after clean

Bug: 300455937
Tag: #floss
Test: mmm packages/modules/Bluetooth
Change-Id: I9b35a0c246e9457346646713793bd87cdcf4b4b4
parent 10051d13
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -231,6 +231,7 @@ void cleanup() {

  if (a2dp_uipc != nullptr) {
    UIPC_Close(*a2dp_uipc, UIPC_CH_ID_ALL);
    a2dp_uipc = nullptr;
  }
}