Skip to content

Commit b05c2c1

Browse files
committed
Remove old dictionaries references to fix possible memory leak
1 parent 820304c commit b05c2c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Flow.Launcher.Core/Resource/Internationalization.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Globalization;
44
using System.IO;
@@ -256,6 +256,7 @@ private void RemoveOldLanguageFiles()
256256
foreach (var r in _oldResources)
257257
{
258258
dicts.Remove(r);
259+
_oldResources.Remove(r);
259260
}
260261
}
261262

0 commit comments

Comments
 (0)