Commit bbdee5a5 authored by Dominik Charousset's avatar Dominik Charousset

Fix demand handling on buffer writers

parent 7df95a82
...@@ -221,7 +221,6 @@ public: ...@@ -221,7 +221,6 @@ public:
if (buf_ && !sub_) { if (buf_ && !sub_) {
CAF_LOG_DEBUG("add subscription"); CAF_LOG_DEBUG("add subscription");
sub_ = std::move(sub); sub_ = std::move(sub);
sub_.request(buf_->capacity());
} else { } else {
CAF_LOG_DEBUG("already have a subscription or buffer no longer valid"); CAF_LOG_DEBUG("already have a subscription or buffer no longer valid");
sub.cancel(); sub.cancel();
......
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