Skip to content

Commit 5eb5656

Browse files
committed
[修改] Kestrel 模块 KestrelPipeConnection 小幅调整
1 parent de7230c commit 5eb5656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GameFrameX.SuperSocket.Kestrel/KestrelPipeConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public KestrelPipeConnection(ConnectionContext context, ConnectionOptions option
2323
: base(context.Transport.Input, context.Transport.Output, options)
2424
{
2525
_context = context;
26-
context.ConnectionClosed.Register(OnConnectionClosed);
26+
context.ConnectionClosed.Register(() => OnConnectionClosed());
2727
LocalEndPoint = context.LocalEndPoint;
2828
RemoteEndPoint = context.RemoteEndPoint;
2929

0 commit comments

Comments
 (0)