mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Moved discovery of loggers and weather providers to MEF. Also added support for third-party image processors, also discovered through MEF.
This commit is contained in:
parent
01a25c48a0
commit
8b7effd6ff
@@ -1,4 +1,5 @@
|
||||
using MediaBrowser.Common.Kernel;
|
||||
using MediaBrowser.Common.Logging;
|
||||
using MediaBrowser.Common.Serialization;
|
||||
using MediaBrowser.Model.Plugins;
|
||||
using System;
|
||||
@@ -200,6 +201,8 @@ namespace MediaBrowser.Common.Plugins
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
Logger.LogInfo("Disposing {0} Plugin", Name);
|
||||
|
||||
if (Context == KernelContext.Server)
|
||||
{
|
||||
DisposeOnServer();
|
||||
|
||||
Reference in New Issue
Block a user