marising commented on a change in pull request #4005:
URL: https://github.com/apache/incubator-doris/pull/4005#discussion_r465446382
##########
File path: be/src/runtime/exec_env_init.cpp
##########
@@ -208,6 +215,10 @@ void ExecEnv::_init_buffer_pool(int64_t min_page_size,
}
void ExecEnv::_destory() {
+ //Only destroy once after init
+ if (!_is_init) {
Review comment:
If is_init is not judged, the initial initialization fails, and the
destroy will be CoreDump later
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]