@@ -62,7 +62,7 @@ await ReceiveLoopAsync(mainLoopToken)
62
62
Constants . InternalError ,
63
63
"Thread aborted (AppDomain unloaded?)" ,
64
64
exception : taex ) ;
65
- await HandleMainLoopException ( ea )
65
+ await HandleMainLoopExceptionAsync ( ea )
66
66
. ConfigureAwait ( false ) ;
67
67
}
68
68
#endif
@@ -73,7 +73,7 @@ await HandleMainLoopException(ea)
73
73
0 ,
74
74
"End of stream" ,
75
75
exception : eose ) ;
76
- await HandleMainLoopException ( ea )
76
+ await HandleMainLoopExceptionAsync ( ea )
77
77
. ConfigureAwait ( false ) ;
78
78
}
79
79
catch ( HardProtocolException hpe )
@@ -91,7 +91,7 @@ await HardProtocolExceptionHandlerAsync(hpe, mainLoopToken)
91
91
Constants . InternalError ,
92
92
fileLoadException . Message ,
93
93
exception : fileLoadException ) ;
94
- await HandleMainLoopException ( ea )
94
+ await HandleMainLoopExceptionAsync ( ea )
95
95
. ConfigureAwait ( false ) ;
96
96
}
97
97
catch ( OperationCanceledException ocex )
@@ -106,7 +106,7 @@ await HandleMainLoopException(ea)
106
106
Constants . InternalError ,
107
107
ocex . Message ,
108
108
exception : ocex ) ;
109
- await HandleMainLoopException ( ea )
109
+ await HandleMainLoopExceptionAsync ( ea )
110
110
. ConfigureAwait ( false ) ;
111
111
}
112
112
}
@@ -116,7 +116,7 @@ await HandleMainLoopException(ea)
116
116
Constants . InternalError ,
117
117
ex . Message ,
118
118
exception : ex ) ;
119
- await HandleMainLoopException ( ea )
119
+ await HandleMainLoopExceptionAsync ( ea )
120
120
. ConfigureAwait ( false ) ;
121
121
}
122
122
@@ -207,7 +207,7 @@ private void MaybeTerminateMainloopAndStopHeartbeatTimers(bool cancelMainLoop =
207
207
MaybeStopHeartbeatTimers ( ) ;
208
208
}
209
209
210
- private async Task HandleMainLoopException ( ShutdownEventArgs reason )
210
+ private async Task HandleMainLoopExceptionAsync ( ShutdownEventArgs reason )
211
211
{
212
212
string message = reason . GetLogMessage ( ) ;
213
213
if ( false == SetCloseReason ( reason ) )
0 commit comments