aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Plugins/PluginManager.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-12-18 08:24:00 +0000
committerGitHub <noreply@github.com>2020-12-18 08:24:00 +0000
commit2d094bedf5d8b8e0e33e5bc0f59f9f39cb7b40c7 (patch)
tree051fabce185bc37d4071f56b79d16be8a362401a /Emby.Server.Implementations/Plugins/PluginManager.cs
parent3a8d395c9c88fb5a6e170504ee8d865d880d7ed6 (diff)
Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Emby.Server.Implementations/Plugins/PluginManager.cs')
-rw-r--r--Emby.Server.Implementations/Plugins/PluginManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs
index 34e8219e1..66a233fbe 100644
--- a/Emby.Server.Implementations/Plugins/PluginManager.cs
+++ b/Emby.Server.Implementations/Plugins/PluginManager.cs
@@ -425,7 +425,7 @@ namespace Emby.Server.Implementations
try
{
_logger.LogDebug("Creating instance of {Type}", type);
- var instance = ActivatorUtilities.CreateInstance(_appHost.ServiceProvider, type);
+ var instance = (IPlugin)ActivatorUtilities.CreateInstance(_appHost.ServiceProvider, type);
if (plugin == null)
{
// Create a dummy record for the providers.