Skip to content

Commit

Permalink
kill instead of dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Jan 7, 2025
1 parent 9b20ac3 commit 148bd4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public SmiCtpAnonymiser(GlobalOptions globalOptions)
});
if (!readyTask.Wait(TimeSpan.FromSeconds(5)))
{
_ctpProcess.Dispose();
_ctpProcess.Kill();
throw new Exception($"Did not receive READY before timeout. Stderr: {_ctpProcess.StandardError.ReadToEnd()}");

Check warning on line 48 in src/SmiServices/Microservices/DicomAnonymiser/Anonymisers/SmiCtpAnonymiser.cs

View check run for this annotation

Codecov / codecov/patch

src/SmiServices/Microservices/DicomAnonymiser/Anonymisers/SmiCtpAnonymiser.cs#L47-L48

Added lines #L47 - L48 were not covered by tests
}
}
Expand Down

0 comments on commit 148bd4d

Please sign in to comment.