提交 e8e87dfc 编写于 作者: R raywill 提交者: wangzelin.wzl

deal with datahub memory leak

上级 4efdd918
...@@ -52,7 +52,9 @@ public: ...@@ -52,7 +52,9 @@ public:
{} {}
~ObWinbufPieceMsg() = default; ~ObWinbufPieceMsg() = default;
void reset() void reset()
{} {
deseria_allocator_.reset();
}
INHERIT_TO_STRING_KV("meta", ObDatahubPieceMsg<dtl::ObDtlMsgType::DH_WINBUF_PIECE_MSG>, K_(op_id)); INHERIT_TO_STRING_KV("meta", ObDatahubPieceMsg<dtl::ObDtlMsgType::DH_WINBUF_PIECE_MSG>, K_(op_id));
public: public:
...@@ -89,6 +91,7 @@ public: ...@@ -89,6 +91,7 @@ public:
is_datum_ = false; is_datum_ = false;
row_store_.reset(); row_store_.reset();
datum_store_.reset(); datum_store_.reset();
assign_allocator_.reset();
} }
VIRTUAL_TO_STRING_KV(K_(ready_state)); VIRTUAL_TO_STRING_KV(K_(ready_state));
int ready_state_; int ready_state_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册