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

Commit 6a369dce authored by Chris Manton's avatar Chris Manton
Browse files

classic/le connection private impls may not be constructed

Bug: 213537005
Tag: #refactor
Test: gd/cert/run
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I845b3b56d5b965a600a139a0fd86c8460059eaba
parent ae0a4983
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -353,7 +353,7 @@ ClassicAclConnection::ClassicAclConnection(std::shared_ptr<Queue> queue,
}

ClassicAclConnection::~ClassicAclConnection() {
  pimpl_->PutEventCallbacks();
  if (pimpl_) pimpl_->PutEventCallbacks();
  delete pimpl_;
}

+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ LeAclConnection::LeAclConnection(
}

LeAclConnection::~LeAclConnection() {
  pimpl_->PutEventCallbacks();
  if (pimpl_) pimpl_->PutEventCallbacks();
  delete pimpl_;
}