Skip to content

Commit b2e6d60

Browse files
daxian-dbwkilasuit
authored andcommitted
Add test for the even handler leaking fix (PowerShell#10768)
Add a test for the even handler leaking fix addressed in PowerShell#10626 PowerShell#10626 The test is added to verify that PowerShell unregister the 'AppDomain.ProcessExit' event handler when a Runspace closes.
1 parent 07399b3 commit b2e6d60

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/xUnit/csharp/test_Runspace.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ public void TestRunspaceWithPowerShellAndInitialSessionState()
105105
[SkippableFact]
106106
public void TestAppDomainProcessExitEvenHandlerNotLeaking()
107107
{
108-
// Skip this flaky test for now.
109-
Skip.IfNot(false);
110-
111108
Skip.IfNot(Platform.IsWindows);
112109

113110
EventHandler eventHandler;

0 commit comments

Comments
 (0)