Skip to content

Commit 8bff21d

Browse files
tau233pansgg
authored andcommitted
fix: empty buffer merge error list failed
1 parent ece3aa1 commit 8bff21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libmodelbox/engine/data_context.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ Status FlowUnitDataContext::GenerateOutput() {
781781
// merge buffer by input index
782782
auto compare = [](const std::shared_ptr<Buffer> &b1,
783783
const std::shared_ptr<Buffer> &b2) {
784-
if (b1 == nullptr) {
784+
if (b1 == nullptr || b2 == nullptr) {
785785
// condition output, will be removed in node stream manage
786786
return true;
787787
}

0 commit comments

Comments
 (0)