Commit e26c0f58 authored by Dominik Charousset's avatar Dominik Charousset

Emit close instead of forced_close if error = none

parent 6293a3c4
......@@ -43,7 +43,7 @@ bool downstream_manager_base::remove_path(stream_slot slot, error reason,
CAF_LOG_TRACE(CAF_ARG(slot) << CAF_ARG(reason) << CAF_ARG(silent));
auto i = paths_.find(slot);
if (i != paths_.end()) {
about_to_erase(i->second.get(), silent, &reason);
about_to_erase(i->second.get(), silent, reason ? &reason : nullptr);
paths_.erase(i);
return true;
}
......
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