Skip to content

Commit 446c61f

Browse files
Jack251970Copilot
andauthored
Use concurrent bag for multiple thread support
Co-authored-by: Copilot <[email protected]>
1 parent d3f5274 commit 446c61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Core/Plugin/PluginManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static class PluginManager
3333
private static IPublicAPI API => api ??= Ioc.Default.GetRequiredService<IPublicAPI>();
3434

3535
private static PluginsSettings Settings;
36-
private static readonly List<string> ModifiedPlugins = new();
36+
private static readonly ConcurrentBag<string> ModifiedPlugins = new();
3737

3838
private static IEnumerable<PluginPair> _contextMenuPlugins;
3939
private static IEnumerable<PluginPair> _homePlugins;

0 commit comments

Comments
 (0)