Skip to content

Commit

Permalink
fix AddressSanitizer check
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonYao287 committed Aug 12, 2024
1 parent aa0ba2f commit c68c0bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tests/test_common/homestore_test_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ class HSTestHelper {
homestore::HomeStore::reset_instance();
iomanager.stop();

if (cleanup) { remove_files(m_generated_devs); }
if (cleanup) {
remove_files(m_generated_devs);
m_generated_devs.clear();
}
}

void change_start_cb(hs_before_services_starting_cb_t cb) { m_token.cb() = cb; }
Expand Down

0 comments on commit c68c0bc

Please sign in to comment.