提交 ce6cfb3d 编写于 作者: Z zaxon 提交者: Jiangtao Hu

framework: shutdown readers when release component (#1959)

上级 3e5d860c
......@@ -52,6 +52,9 @@ class ComponentBase : public std::enable_shared_from_this<ComponentBase> {
}
Clear();
for (auto& reader : readers_) {
reader->Shutdown();
}
Scheduler::Instance()->RemoveTask(node_->Name());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册