diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-18 15:33:57 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-18 15:33:57 -0400 |
| commit | 8b7effd6ff1694688e93d03a48c5dcddb4efe4f0 (patch) | |
| tree | 28f2e6af0ded4cefa56bd15a963a213359cd852c /MediaBrowser.Common/Plugins/BasePlugin.cs | |
| parent | 01a25c48a0c5718c40456c48e311e6c0955f7791 (diff) | |
Moved discovery of loggers and weather providers to MEF. Also added support for third-party image processors, also discovered through MEF.
Diffstat (limited to 'MediaBrowser.Common/Plugins/BasePlugin.cs')
| -rw-r--r-- | MediaBrowser.Common/Plugins/BasePlugin.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Plugins/BasePlugin.cs b/MediaBrowser.Common/Plugins/BasePlugin.cs index 23825db04..a764c5eab 100644 --- a/MediaBrowser.Common/Plugins/BasePlugin.cs +++ b/MediaBrowser.Common/Plugins/BasePlugin.cs @@ -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();
|
