There was an error while loading. Please reload this page.
2 parents 2ee8e49 + 8e521f1 commit db22368Copy full SHA for db22368
FluentFTP/Client/BaseClient/GetReply.cs
@@ -470,7 +470,7 @@ async Task<FtpReply> IInternalFtpClient.GetReplyInternal(CancellationToken token
470
}
471
catch (Exception ex) {
472
if (m_stream != null) {
473
-await m_stream.CloseAsync();
+await m_stream.CloseAsync(token);
474
m_stream = null;
475
476
LogWithPrefix(FtpTraceLevel.Verbose, "GetReply(...) failure: " + ex.Message);
0 commit comments