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

Commit ebe0fbd0 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

Change-Id: I5c8efd21cfbaf45677a8e29c617852f7f10a768b
parents 9ba1c345 3fa65a82
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(); }