1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Files
winscp/dotnet/internal/ProgressHandler.cs
Martin Prikryl 4e798aa1c4 Applying some code analyzer suggestions
Source commit: 2236553766f964d4e7580e5576822f423596e337
2020-11-28 00:55:55 +01:00

23 lines
451 B
C#

using System;
namespace WinSCP
{
internal class ProgressHandler : IDisposable
{
public ProgressHandler(Session session)
{
_session = session;
}
public void Dispose()
{
using (_session.Logger.CreateCallstack())
{
_session.DisableProgressHandling();
}
}
private readonly Session _session;
}
}