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

Commit d351d742 authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

test_vendor: Stop watching before closing the FD am: 3fa65a82 am: ebe0fbd0

am: 2308a447

Change-Id: I2f81793e56f87baa731223ca0e9d02b6d6ef051a
parents b9661ff2 2308a447
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -110,7 +110,10 @@ void VendorManager::SetUpTestChannel(int port) {
  });
}

void VendorManager::CloseHciFd() { transport_.CloseHciFd(); }
void VendorManager::CloseHciFd() {
  async_manager_.StopWatchingFileDescriptor(transport_.GetHciFd());
  transport_.CloseHciFd();
}

int VendorManager::GetHciFd() const { return transport_.GetHciFd(); }