Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit d9a41d7

Browse files
committed
Merge pull request #2094 from Maxwe11/PipeStreamAsyncResult-closure
Avoid closure allocation in PipeStreamAsyncResult
2 parents eccc8f6 + 9f40ac2 commit d9a41d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.IO.Pipes/src/System/IO/Pipes/PipeStreamAsyncResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ internal void CallUserCallback()
7676
{
7777
ar._waitHandle.Set();
7878
}
79-
ar._userCallback(this);
79+
ar._userCallback(ar);
8080
}, this);
8181
}
8282
else

0 commit comments

Comments
 (0)