Skip to content

Commit

Permalink
Prevent deadlock in Dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortDevelopment committed Jan 4, 2025
1 parent 2a26073 commit ba96495
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public CdpSocket ConnectFrom(EndpointInfo client)
Endpoint = new(TransportType, Address, "Some Service Id"),
Close = () =>
{
stream.Value.Input.Dispose();
stream.Value.Output.Dispose();
stream.Value.Input.Dispose();
}
};
}
Expand Down

0 comments on commit ba96495

Please sign in to comment.