Explicitly clear list, just in case

This commit is contained in:
Matt Nadareski
2022-03-12 21:14:26 -08:00
parent 09fcd384ab
commit 7ce7df2625
2 changed files with 6 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
- Fix tabs in Games and Videos boxes
- Make fully and partially matching IDs more apparent
- Add write offset as read-only field
- Explicitly clear list, just in case
### 2.3 (2022-02-05)
- Start overhauling Redump information pulling, again

View File

@@ -1642,6 +1642,11 @@ namespace MPF.Library
else
fullyMatchedIDs = fullyMatchedIDs.Intersect(foundIds).ToList();
}
// If no tracks were found, remove all fully matched IDs found so far
else
{
fullyMatchedIDs = new List<int>();
}
}
// Make sure we only have unique IDs