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

Commit 3e5dd996 authored by Jeremy Wu's avatar Jeremy Wu Committed by Gerrit Code Review
Browse files

Merge "Floss: disconnect from DBus in MMC deconstructor" into main

parents 6c6f7ff2 679f869e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -84,7 +84,10 @@ CodecClient::CodecClient() {
  }
}

CodecClient::~CodecClient() { cleanup(); }
CodecClient::~CodecClient() {
  cleanup();
  if (bus_) bus_->ShutdownAndBlock();
}

int CodecClient::init(const ConfigParam config) {
  cleanup();