File tree 1 file changed +9
-1
lines changed
projects/RabbitMQ.Client/client/impl
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)
68
68
// What to do if setting a result fails?
69
69
public abstract void HandleCommand ( in IncomingCommand cmd ) ;
70
70
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
+ }
72
75
73
76
protected virtual void Dispose ( bool disposing )
74
77
{
@@ -258,6 +261,11 @@ public ChannelCloseAsyncRpcContinuation(TimeSpan continuationTimeout)
258
261
{
259
262
}
260
263
264
+ public override void HandleChannelShutdown ( ShutdownEventArgs reason )
265
+ {
266
+ // Nothing to do here!
267
+ }
268
+
261
269
public void OnConnectionShutdown ( object sender , ShutdownEventArgs reason )
262
270
{
263
271
_tcs . TrySetResult ( true ) ;
You can’t perform that action at this time.
0 commit comments