File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
projects/RabbitMQ.Client/client/impl Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,10 @@ public AsyncRpcContinuation(TimeSpan continuationTimeout)
6868 // What to do if setting a result fails?
6969 public abstract void HandleCommand ( in IncomingCommand cmd ) ;
7070
71- public void HandleChannelShutdown ( ShutdownEventArgs reason ) => _tcs . SetException ( new OperationInterruptedException ( reason ) ) ;
71+ public virtual void HandleChannelShutdown ( ShutdownEventArgs reason )
72+ {
73+ _tcs . SetException ( new OperationInterruptedException ( reason ) ) ;
74+ }
7275
7376 protected virtual void Dispose ( bool disposing )
7477 {
@@ -258,6 +261,11 @@ public ChannelCloseAsyncRpcContinuation(TimeSpan continuationTimeout)
258261 {
259262 }
260263
264+ public override void HandleChannelShutdown ( ShutdownEventArgs reason )
265+ {
266+ // Nothing to do here!
267+ }
268+
261269 public void OnConnectionShutdown ( object sender , ShutdownEventArgs reason )
262270 {
263271 _tcs . TrySetResult ( true ) ;
You can’t perform that action at this time.
0 commit comments