Skip to content

Commit

Permalink
drop provider rw on error
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk committed Nov 17, 2023
1 parent 0a456c8 commit 1cc5a4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/stages/src/pipeline/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ where
}
}
Err(err) => {
drop(provider_rw);
self.listeners.notify(PipelineEvent::Error { stage_id });
if let Some(ctrl) = on_stage_error(&factory, stage_id, prev_checkpoint, err)? {
return Ok(ctrl)
Expand Down

0 comments on commit 1cc5a4c

Please sign in to comment.