yiguolei commented on code in PR #45614:
URL: https://github.com/apache/doris/pull/45614#discussion_r1899443129
##########
be/src/pipeline/task_scheduler.cpp:
##########
@@ -95,11 +95,12 @@ void _close_task(PipelineTask* task, Status exec_status) {
task->finalize();
task->set_running(false);
task->fragment_context()->close_a_pipeline(task->pipeline_id());
+ task.reset();
}
void TaskScheduler::_do_work(int index) {
Review Comment:
PipelineFragmentContext --> pipeline task
PipelineFragment --> task object shared ptr ---> pipeline task rawptr
invalid
valid
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]