Skip to content

Commit

Permalink
Don't produce EOS if a simple pipe has no output.
Browse files Browse the repository at this point in the history
  • Loading branch information
caladri committed Dec 14, 2014
1 parent 52cab31 commit 254485b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion io/pipe/pipe_simple_wrapper.h
Expand Up @@ -52,7 +52,8 @@ class PipeSimpleWrapper : public PipeProducer {
produce_error();
return;
}
produce(&out);
if (!out.empty())
produce(&out);
}
};

Expand Down

0 comments on commit 254485b

Please sign in to comment.