plugin manager: remove extra injectMembers() call

This has been here a long time, but as far as we can tell is no longer
necessary. It is causing double instantiation of classes which are only
injected a single place.
This commit is contained in:
Adam
2020-07-03 17:51:08 -04:00
parent c2a33e2b97
commit e3163c80ae

View File

@@ -525,7 +525,6 @@ public class PluginManager
binder.install(plugin);
};
Injector pluginInjector = parent.createChildInjector(pluginModule);
pluginInjector.injectMembers(plugin);
plugin.injector = pluginInjector;
}
catch (CreationException ex)