We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
virtual
1 parent 1deeae3 commit 5b6956bCopy full SHA for 5b6956b
projects/RabbitMQ.Client/client/impl/SessionBase.cs
@@ -86,13 +86,13 @@ public event EventHandler<ShutdownEventArgs> SessionShutdown
86
[MemberNotNullWhen(false, nameof(CloseReason))]
87
public bool IsOpen => CloseReason is null;
88
89
- public virtual Task OnConnectionShutdownAsync(object? conn, ShutdownEventArgs reason)
+ public Task OnConnectionShutdownAsync(object? conn, ShutdownEventArgs reason)
90
{
91
Close(reason);
92
return Task.CompletedTask;
93
}
94
95
- public virtual void OnSessionShutdown(ShutdownEventArgs reason)
+ public void OnSessionShutdown(ShutdownEventArgs reason)
96
97
Connection.ConnectionShutdownAsync -= OnConnectionShutdownAsync;
98
_sessionShutdownWrapper.Invoke(this, reason);
0 commit comments