mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[FileTools] Make sure this isn't null first
This commit is contained in:
@@ -569,8 +569,8 @@ namespace SabreTools.Helper
|
||||
}
|
||||
finally
|
||||
{
|
||||
fs.Close();
|
||||
fs.Dispose();
|
||||
fs?.Close();
|
||||
fs?.Dispose();
|
||||
}
|
||||
|
||||
return encounteredErrors;
|
||||
|
||||
Reference in New Issue
Block a user