mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
3a8d395c9c
commit
2d094bedf5
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ namespace Emby.Server.Implementations
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
_logger.LogDebug("Creating instance of {Type}", type);
|
_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)
|
if (plugin == null)
|
||||||
{
|
{
|
||||||
// Create a dummy record for the providers.
|
// Create a dummy record for the providers.
|
||||||
|
|
Loading…
Reference in a new issue