Skip to content

Commit

Permalink
Properly re-initialize pipeline before running
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed Sep 21, 2024
1 parent 0647f7c commit 95f4f4a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Refresher/UI/PipelineForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ private void OnButtonClick(object? sender, EventArgs e)
return;
}

if (this._pipeline.State is PipelineState.Cancelled or PipelineState.Error or PipelineState.Finished)
{
this.InitializePipeline();
}

foreach (TableRow row in this._formLayout.Rows)
{
string id = row.Cells[0].Control.ToolTip;
Expand Down

0 comments on commit 95f4f4a

Please sign in to comment.