Skip to content

Commit

Permalink
fix bus
Browse files Browse the repository at this point in the history
  • Loading branch information
wj8400684 committed May 11, 2024
1 parent 26fd35c commit 6b11ba8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/SuperSocket.Connection/PipeConnectionBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ public async override IAsyncEnumerable<TPackageInfo> RunAsync<TPackageInfo>(IPip
{
var package = await packagePipe.ReadAsync().ConfigureAwait(false);

e
if (package == null)
{
yield break;
}

yield return package;
}

//How do empty a pipe?
Expand Down

0 comments on commit 6b11ba8

Please sign in to comment.