Commit 707c9e9a authored by Dominik Charousset's avatar Dominik Charousset Committed by Dominik Charousset

Send close messages when closing a scatterer

parent ff61ae0f
......@@ -95,8 +95,10 @@ bool stream_scatterer::clean() const noexcept {
}
void stream_scatterer::close() {
for (auto i = paths_.begin(); i != paths_.end(); ++i)
for (auto i = paths_.begin(); i != paths_.end(); ++i) {
about_to_erase(i, false, nullptr);
i->second->emit_regular_shutdown(self_);
}
paths_.clear();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment