yiguolei commented on code in PR #69635:
URL: https://github.com/apache/doris/pull/69635#discussion_r4387995543


##########
be/src/runtime/runtime_state.cpp:
##########
@@ -226,6 +226,11 @@ RuntimeState::~RuntimeState() {
     if (_error_log_file != nullptr && _error_log_file->is_open()) {
         _error_log_file->close();
     }
+    // Local states use profiles and other objects allocated in _obj_pool, 
also in their
+    // destructors (e.g. a spill writer closing its last part): release them 
first, in the order
+    // the members would be destroyed.
+    _sink_local_state.reset();
+    _op_id_to_local_state.clear();

Review Comment:
   这个是之前导致挂了?



-- 
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]

Reply via email to