mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove old dictionaries references to fix possible memory leak
This commit is contained in:
parent
820304ce19
commit
b05c2c1e1a
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
@ -256,6 +256,7 @@ namespace Flow.Launcher.Core.Resource
|
||||||
foreach (var r in _oldResources)
|
foreach (var r in _oldResources)
|
||||||
{
|
{
|
||||||
dicts.Remove(r);
|
dicts.Remove(r);
|
||||||
|
_oldResources.Remove(r);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue