Honor cancellation after recording native evaluation evidence
This commit is contained in:
@@ -191,6 +191,9 @@ func executeNative[T any](ctx context.Context, execution ExecutionContext[T], op
|
||||
} else {
|
||||
evaluate(result)
|
||||
}
|
||||
if canceled := ctx.Err(); canceled != nil {
|
||||
return empty, errors.Join(canceled, fatal)
|
||||
}
|
||||
if fatal != nil {
|
||||
return empty, fatal
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user