add destroy thread gracefully

This commit is contained in:
zhjc1124
2023-06-08 07:42:27 +00:00
committed by ob-robot
parent 340151ccc9
commit f4b390d643
25 changed files with 203 additions and 39 deletions

View File

@ -327,6 +327,7 @@ void PalfEnvImpl::destroy()
fetch_log_engine_.destroy();
log_updater_.destroy();
log_rpc_.destroy();
election_timer_.destroy();
log_alloc_mgr_ = NULL;
monitor_ = NULL;
self_.reset();