summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/direct_bt_scanner10/dbt_scanner10.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/direct_bt_scanner10/dbt_scanner10.cpp b/examples/direct_bt_scanner10/dbt_scanner10.cpp
index 49195865..aceebf37 100644
--- a/examples/direct_bt_scanner10/dbt_scanner10.cpp
+++ b/examples/direct_bt_scanner10/dbt_scanner10.cpp
@@ -554,7 +554,10 @@ void test(int dev_id) {
std::this_thread::sleep_for(std::chrono::milliseconds(3000));
}
}
- fprintf(stderr, "****** EOL Adapter's Devices\n");
+ fprintf(stderr, "****** EOL Adapter's Devices - pre close\n");
+ adapter.printSharedPtrListOfDevices();
+ adapter.close();
+ fprintf(stderr, "****** EOL Adapter's Devices - post close\n");
adapter.printSharedPtrListOfDevices();
}