Skip to content

Commit

Permalink
fix: fix the judgment logic for unsupported scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxilin committed Sep 11, 2024
1 parent 48367f6 commit 570d535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/ten_runtime/extension/msg_handling.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ void ten_extension_handle_in_msg(ten_extension_t *self, ten_shared_ptr_t *msg) {
// Therefore, unless there is a clear need, the simultaneous use of
// these modes is currently blocked.
TEN_ASSERT(
!is_final_result && !ten_path_is_in_a_group(out_path),
is_final_result || !ten_path_is_in_a_group(out_path),
"Streaming return is not supported for multiple destinations.");

// The path will be removed from the path table if the cmd result is
Expand Down

0 comments on commit 570d535

Please sign in to comment.