You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The network connections in the Connection and Connector classes are not being properly disposed, leading to connections lingering in the CLOSE_WAIT state.
To fix this, the classes should implement IDisposable to ensure proper cleanup of resources.
I propose updating the client.Replicate function to use the connection like this:
The network connections in the
Connection
andConnector
classes are not being properly disposed, leading to connections lingering in theCLOSE_WAIT
state.To fix this, the classes should implement
IDisposable
to ensure proper cleanup of resources.I propose updating the
client.Replicate
function to use the connection like this:If this is okay, I can submit a PR for these changes.
The text was updated successfully, but these errors were encountered: