mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-05 21:59:45 +00:00
test/tlv_posix: call de-init on close instance
This commit is contained in:
parent
dffbc68c3c
commit
43b71a9fd7
@ -30,12 +30,14 @@ TEST_GROUP(BSTACK_TLV){
|
||||
// close file
|
||||
fclose(btstack_tlv_context.file);
|
||||
// reopen
|
||||
btstack_tlv_posix_deinit(&btstack_tlv_context);
|
||||
btstack_tlv_impl = btstack_tlv_posix_init_instance(&btstack_tlv_context, TEST_DB);
|
||||
}
|
||||
void teardown(void){
|
||||
log_info("teardown");
|
||||
// close file
|
||||
fclose(btstack_tlv_context.file);
|
||||
btstack_tlv_posix_deinit(&btstack_tlv_context);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user