[bugfix](addlog) expr context is not closed and will core during deconstructor (#18134)
This commit is contained in:
@ -172,8 +172,11 @@ void ExecNode::release_resource(doris::RuntimeState* state) {
|
||||
|
||||
Status ExecNode::close(RuntimeState* state) {
|
||||
if (_is_closed) {
|
||||
LOG(INFO) << "fragment_instance_id=" << print_id(state->fragment_instance_id())
|
||||
<< " already closed";
|
||||
return Status::OK();
|
||||
}
|
||||
LOG(INFO) << "fragment_instance_id=" << print_id(state->fragment_instance_id()) << " closed";
|
||||
_is_closed = true;
|
||||
|
||||
Status result;
|
||||
|
||||
Reference in New Issue
Block a user