Better cleanup after filter in Batch

This commit is contained in:
Matt Nadareski
2020-09-27 21:13:53 -07:00
parent 80f5b69513
commit e61f5fbdbf

View File

@@ -206,7 +206,11 @@ Reset the internal state: reset();";
// Apply the filter blindly
datFile.ApplyFilter(filter, filterPerMachine.Value);
datFile.Items.ClearMarked(); // TODO: We might not want to remove immediately
// Cleanup after the filter
// TODO: We might not want to remove immediately
datFile.Items.ClearMarked();
datFile.Items.ClearEmpty();
break;