🎨Initializate list of plugins at the same time PluginBase is constructed.

This commit is contained in:
2017-12-26 06:43:29 +00:00
parent 2eca6ec8be
commit 5b56702c60
12 changed files with 4 additions and 21 deletions

View File

@@ -78,7 +78,6 @@ namespace DiscImageChef.Commands
}
PluginBase plugins = new PluginBase();
plugins.RegisterAllPlugins();
try
{

View File

@@ -45,7 +45,6 @@ namespace DiscImageChef.Commands
internal static void ListFormats(FormatsOptions formatsOptions)
{
PluginBase plugins = new PluginBase();
plugins.RegisterAllPlugins();
FiltersList filtersList = new FiltersList();
DicConsole.WriteLine("Supported filters:");

View File

@@ -74,7 +74,6 @@ namespace DiscImageChef.Commands
}
PluginBase plugins = new PluginBase();
plugins.RegisterAllPlugins();
try
{