Skip to content
Snippets Groups Projects
Commit 3fa65a82 authored by Myles Watson's avatar Myles Watson
Browse files

test_vendor: Stop watching before closing the FD

Test: net_test_bluetooth BluetoothTest.AdapterRepeatedEnableDisable
Change-Id: I72f5c9105b535ad5a5c41bc15dc9a3ad5f4e023f
parent 1940bdd1
No related branches found
No related tags found
No related merge requests found
......@@ -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(); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment