This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 664bbeb10c8 [fix](data stream) Fix dead loop in VDataStreamMgr's 
de-constructor (… (#47000)
664bbeb10c8 is described below

commit 664bbeb10c8ef3bf8d2e3bbfafe342b8984be0cf
Author: Gabriel <liwenqi...@selectdb.com>
AuthorDate: Wed Jan 15 13:53:20 2025 +0800

    [fix](data stream) Fix dead loop in VDataStreamMgr's de-constructor (… 
(#47000)
---
 be/src/vec/runtime/vdata_stream_mgr.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/vec/runtime/vdata_stream_mgr.cpp 
b/be/src/vec/runtime/vdata_stream_mgr.cpp
index a620d6bde80..afec071f398 100644
--- a/be/src/vec/runtime/vdata_stream_mgr.cpp
+++ b/be/src/vec/runtime/vdata_stream_mgr.cpp
@@ -46,6 +46,7 @@ VDataStreamMgr::~VDataStreamMgr() {
         // Could not call close directly, because during close method, it will 
remove itself
         // from the map, and modify the map, it will core.
         receivers.push_back(receiver_iterator->second);
+        receiver_iterator++;
     }
     for (auto iter = receivers.begin(); iter != receivers.end(); ++iter) {
         (*iter)->close();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to