Skip to content

Commit 0c0aa69

Browse files
linkdotnetegil
authored andcommitted
fix: Cancel ExceptionTsc on dispose
1 parent 46c036f commit 0c0aa69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bunit.core/Rendering/TestRenderer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ protected override void Dispose(bool disposing)
201201
}
202202

203203
renderedComponents.Clear();
204+
unhandledExceptionTsc.TrySetCanceled();
204205
}
205206

206207
base.Dispose(disposing);

0 commit comments

Comments
 (0)