Skip to content

Commit

Permalink
fix: Cancel ExceptionTsc on dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet authored and egil committed Dec 15, 2022
1 parent 46c036f commit 0c0aa69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bunit.core/Rendering/TestRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ protected override void Dispose(bool disposing)
}

renderedComponents.Clear();
unhandledExceptionTsc.TrySetCanceled();
}

base.Dispose(disposing);
Expand Down

0 comments on commit 0c0aa69

Please sign in to comment.