xiepengcheng01 commented on code in PR #9311:
URL: https://github.com/apache/incubator-doris/pull/9311#discussion_r867678373


##########
be/src/vec/exec/vbroker_scan_node.h:
##########
@@ -31,7 +31,8 @@ namespace vectorized {
 class VBrokerScanNode final : public BrokerScanNode {
 public:
     VBrokerScanNode(ObjectPool* pool, const TPlanNode& tnode, const 
DescriptorTbl& descs);
-    ~VBrokerScanNode() override = default;
+
+    ~VBrokerScanNode() { close(_runtime_state); }

Review Comment:
   why add `close` here?



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to