Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
critical27 committed Oct 14, 2021
1 parent e9ae691 commit 9fd3e89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/storage/admin/AdminTaskManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ void AdminTaskManager::shutdown() {
if (unreportedAdminThread_ != nullptr) {
unreportedAdminThread_->join();
}
env_->adminStore_.reset();
if (env_) {
env_->adminStore_.reset();
}
LOG(INFO) << "exit AdminTaskManager::shutdown()";
}

Expand Down

0 comments on commit 9fd3e89

Please sign in to comment.