mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add plugin to all plugin list later
This commit is contained in:
parent
59a7a2c807
commit
52bb909f0b
1 changed files with 3 additions and 3 deletions
|
|
@ -244,9 +244,6 @@ namespace Flow.Launcher.Core.Plugin
|
|||
pair.Metadata.InitTime += milliseconds;
|
||||
API.LogInfo(ClassName,
|
||||
$"Total init cost for <{pair.Metadata.Name}> is <{pair.Metadata.InitTime}ms>");
|
||||
|
||||
// Add it in all plugin list
|
||||
_allPlugins.TryAdd(pair.Metadata.ID, pair);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
@ -312,6 +309,9 @@ namespace Flow.Launcher.Core.Plugin
|
|||
|
||||
// Add plugin to Dialog Jump plugin list after the plugin is initialized
|
||||
DialogJump.InitializeDialogJumpPlugin(pair);
|
||||
|
||||
// Add plugin to all plugin list
|
||||
_allPlugins.TryAdd(pair.Metadata.ID, pair);
|
||||
}));
|
||||
|
||||
await Task.WhenAll(InitTasks);
|
||||
|
|
|
|||
Loading…
Reference in a new issue