Skip to content

Commit

Permalink
allowed OnClosed to be overwritten from client
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed May 25, 2024
1 parent 5e37f9e commit e98b790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SuperSocket.Client/EasyClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ private void OnConnectionClosed(object sender, EventArgs e)
OnClosed(this, e);
}

private void OnClosed(object sender, EventArgs e)
protected virtual void OnClosed(object sender, EventArgs e)
{
var handler = Closed;

Expand Down

0 comments on commit e98b790

Please sign in to comment.