From ca7ee684730fe0d99a6160659c679c36a1646c88 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Wed, 27 Feb 2013 11:46:48 -0500 Subject: fixed the plugin catalog not loading --- MediaBrowser.Common/Kernel/BaseKernel.cs | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'MediaBrowser.Common/Kernel/BaseKernel.cs') diff --git a/MediaBrowser.Common/Kernel/BaseKernel.cs b/MediaBrowser.Common/Kernel/BaseKernel.cs index 44e00877e..68983064e 100644 --- a/MediaBrowser.Common/Kernel/BaseKernel.cs +++ b/MediaBrowser.Common/Kernel/BaseKernel.cs @@ -23,11 +23,6 @@ namespace MediaBrowser.Common.Kernel where TConfigurationType : BaseApplicationConfiguration, new() where TApplicationPathsType : IApplicationPaths { - /// - /// Occurs when [has pending restart changed]. - /// - public event EventHandler HasPendingRestartChanged; - #region ConfigurationUpdated Event /// /// Occurs when [configuration updated]. @@ -43,20 +38,6 @@ namespace MediaBrowser.Common.Kernel } #endregion - #region ReloadBeginning Event - /// - /// Fires whenever the kernel begins reloading - /// - public event EventHandler ReloadBeginning; - /// - /// Called when [reload beginning]. - /// - private void OnReloadBeginning() - { - EventHelper.QueueEventIfNotNull(ReloadBeginning, this, EventArgs.Empty, Logger); - } - #endregion - #region ReloadCompleted Event /// /// Fires whenever the kernel completes reloading @@ -141,12 +122,6 @@ namespace MediaBrowser.Common.Kernel /// The plugins. public IEnumerable Plugins { get; protected set; } - /// - /// Gets the web socket listeners. - /// - /// The web socket listeners. - public IEnumerable WebSocketListeners { get; private set; } - /// /// Gets or sets the TCP manager. /// @@ -233,8 +208,6 @@ namespace MediaBrowser.Common.Kernel /// Task. public async Task Init() { - OnReloadBeginning(); - await ReloadInternal().ConfigureAwait(false); OnReloadCompleted(); @@ -275,7 +248,6 @@ namespace MediaBrowser.Common.Kernel /// protected virtual void FindParts() { - WebSocketListeners = ApplicationHost.GetExports(); Plugins = ApplicationHost.GetExports(); } @@ -314,8 +286,6 @@ namespace MediaBrowser.Common.Kernel HasPendingRestart = true; ServerManager.SendWebSocketMessage("HasPendingRestartChanged", GetSystemInfo()); - - EventHelper.QueueEventIfNotNull(HasPendingRestartChanged, this, EventArgs.Empty, Logger); } /// -- cgit v1.2.3