Skip to content

Commit 420b7a8

Browse files
authored
fix: Fix cancellation flow in python component graph (ai-dynamo#765)
1 parent 2972b7e commit 420b7a8

File tree

1 file changed

+1
-0
lines changed
  • lib/bindings/python/rust

1 file changed

+1
-0
lines changed

lib/bindings/python/rust/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ async fn process_stream(
697697
// Send the PyObject through the channel or log an error
698698
if let Err(e) = tx.send(annotated).await {
699699
tracing::error!("Failed to send response: {:?}", e);
700+
break;
700701
}
701702

702703
if is_error {

0 commit comments

Comments
 (0)