Skip to content

Commit

Permalink
SuppressFlow
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara committed Sep 26, 2024
1 parent 6792226 commit fea52aa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ public static void HandleSocketEvent(object? state)
SocketAsyncContext ctx = (SocketAsyncContext)state!;
try
{
ctx.HandleEventsInline(Sys.SocketEvents.Write | Sys.SocketEvents.Read);
using (ExecutionContext.SuppressFlow())
{
ctx.HandleEventsInline(Sys.SocketEvents.Write | Sys.SocketEvents.Read);
}
}
catch (Exception e)
{
Expand Down

0 comments on commit fea52aa

Please sign in to comment.