Skip to content

Commit

Permalink
fix: early exit async handler on error state
Browse files Browse the repository at this point in the history
(cherry picked from commit 2db63f4)
  • Loading branch information
decahedron1 authored and qryxip committed Dec 8, 2024
1 parent 17f7413 commit ae36713
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/session/async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ crate::extern_system_fn! {
if let Err(e) = crate::error::status_to_result(status) {
ctx.inner.emplace_value(Err(Error::SessionRun(e)));
ctx.inner.wake();
return;
}

let outputs: Vec<Value> = ctx
Expand Down

0 comments on commit ae36713

Please sign in to comment.