mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user