Skip to content

Commit db22368

Browse files
authored
Merge pull request #1767 from FanDjango/master
Pass token for async
2 parents 2ee8e49 + 8e521f1 commit db22368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FluentFTP/Client/BaseClient/GetReply.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ async Task<FtpReply> IInternalFtpClient.GetReplyInternal(CancellationToken token
470470
}
471471
catch (Exception ex) {
472472
if (m_stream != null) {
473-
await m_stream.CloseAsync();
473+
await m_stream.CloseAsync(token);
474474
m_stream = null;
475475
}
476476
LogWithPrefix(FtpTraceLevel.Verbose, "GetReply(...) failure: " + ex.Message);

0 commit comments

Comments
 (0)