Fix dispose null reference exception

This commit is contained in:
Sergey Chebotar 2023-04-07 07:25:03 +03:00
parent dfd0db9133
commit 0a7d9646f3

View File

@ -163,6 +163,6 @@ public class RhExcelReader : IExcelReader, IDisposable
public void Dispose() public void Dispose()
{ {
_progressBar.Dispose(); _progressBar?.Dispose();
} }
} }