mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Plugins - Don't dispose Plugin when disabling after it has been injected into a feature
This commit is contained in:
1 parent
75d85985a9
commit
289a411545
9 files changed
+58
-33
No files matched your search
@@ -22,7 +22,7 @@ namespace Artemis.Core.Ninject
|
||||
|
||||
Kernel.Components.Remove<IMissingBindingResolver, SelfBindingResolver>();
|
||||
|
||||
Kernel.Bind<Plugin>().ToConstant(Plugin);
|
||||
Kernel.Bind<Plugin>().ToConstant(Plugin).InTransientScope();
|
||||
|
||||
// Bind plugin service interfaces
|
||||
Kernel.Bind(x =>
|
||||
|
||||
Reference in new issue
Block a user