Initial code cleanup

This commit is contained in:
JustArchi
2020-11-11 16:51:31 +01:00
parent 8ae8bc649e
commit 60ae4977da
35 changed files with 254 additions and 154 deletions

View File

@@ -34,7 +34,11 @@ namespace ArchiSteamFarm.Helpers {
private bool ReadOnly;
private bool SavingScheduled;
public virtual void Dispose() => FileSemaphore.Dispose();
public virtual void Dispose() {
FileSemaphore.Dispose();
GC.SuppressFinalize(this);
}
protected async Task Save() {
if (string.IsNullOrEmpty(FilePath)) {