null pointers

feature-bluetooth-unit-test
Paul Szczepanek 2021-02-10 17:35:12 +00:00
parent ce0917f00b
commit 5ff2b23ec9
1 changed files with 9 additions and 0 deletions

View File

@ -81,6 +81,15 @@ void delete_mocks() {
delete gatt_client_impl;
delete security_manager;
delete security_manager_impl;
gap = nullptr;
gap_impl = nullptr;
gatt_server = nullptr;
gatt_server_impl = nullptr;
gatt_client = nullptr;
gatt_client_impl = nullptr;
security_manager = nullptr;
security_manager_impl = nullptr;
}
class BLEInstanceBase {