Skip to content

Commit 2e66f0c

Browse files
committed
cleaned the codes, removed unnecessary optimizations, moved codes that change the UI into the main form codes, etc
1 parent aba8879 commit 2e66f0c

File tree

7 files changed

+434
-825
lines changed

7 files changed

+434
-825
lines changed

Media Player/AudioDataBase.cs

Lines changed: 28 additions & 189 deletions
Large diffs are not rendered by default.

Media Player/FilterDuplicates.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ await Task.Run(() =>
5151
}
5252
allArtFilePaths = (string[])tempArtsPaths.ToArray().Clone();
5353
tempArtsPaths.Clear();
54-
tempArtsPaths = null;
5554

5655
List<string> artsToRemove = new List<string>();
5756
XmlDocument MusicDataBase = new XmlDocument();
@@ -105,8 +104,6 @@ await Task.Run(() =>
105104
}
106105

107106
MusicDataBase.Save(allMusicDataBase);
108-
MusicDataBase = null;
109-
artsToRemove = null;
110107
});
111108
GC.Collect();
112109
}

Media Player/FormEditor.cs

Lines changed: 0 additions & 327 deletions
This file was deleted.

0 commit comments

Comments
 (0)