Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Fixed stmgr unittest segfault issue on macOS #3767

Merged
merged 1 commit into from
Jan 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions heron/stmgr/tests/cpp/server/stmgr_unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,9 +682,7 @@ void TearCommonResources(CommonResources& common) {

common.ss_list_.clear();

for (auto itr = common.instanceid_instance_.begin();
itr != common.instanceid_instance_.end(); ++itr)
common.instanceid_instance_.erase(itr->first);
common.instanceid_instance_.clear();

// Clean up the local filesystem state
FileUtils::removeRecursive(common.dpath_, true);
Expand Down