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

Commit 2308a447 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

Change-Id: I5d2fba1b8aa8ba15b1de8d2425c882d6ef550f5e
parents 5affbfa2 ebe0fbd0
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(); }