Remove old dictionaries references to fix possible memory leak

This commit is contained in:
Jack251970 2025-09-18 16:25:21 +08:00
parent 820304ce19
commit b05c2c1e1a

View file

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
@ -256,6 +256,7 @@ namespace Flow.Launcher.Core.Resource
foreach (var r in _oldResources)
{
dicts.Remove(r);
_oldResources.Remove(r);
}
}