Skip to content

Commit

Permalink
Fix storage core when exit (#3050)
Browse files Browse the repository at this point in the history
* although I don't have time to check why it works, but this do fix the issue

* fix ut
  • Loading branch information
critical27 authored Oct 18, 2021
1 parent 93eed9b commit 952eece
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/storage/admin/AdminTaskManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ void AdminTaskManager::shutdown() {
if (unreportedAdminThread_ != nullptr) {
unreportedAdminThread_->join();
}
if (env_) {
env_->adminStore_.reset();
}
LOG(INFO) << "exit AdminTaskManager::shutdown()";
}

Expand Down

0 comments on commit 952eece

Please sign in to comment.