Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/02/11 12:42:21 (14 years ago)
Author:
cneumuel
Message:

#1233

  • fixed wrong number of plugin dependencies
  • minor fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Web/Hive-3.4/App_Code/HiveServerModule.cs

    r5511 r5591  
    2424using System.Linq;
    2525using System.Web;
    26 using HeuristicLab.Hive.Server.Core;
    2726using HeuristicLab.Services.Hive.Common.ServiceContracts;
    2827using HeuristicLab.Services.Hive;
     
    3029using HeuristicLab.Services.Hive.Common;
    3130
    32 namespace HeuristicLab.Hive.Server.Core.IISModules {
     31namespace HeuristicLab.Services.Hive.IISModules {
    3332  public class HiveServerModule : IHttpModule {
    34     private static IHiveService hiveService;
    3533    private static ILifecycleManager lifecycleManager;
    3634
     
    4442
    4543    public void Dispose() {
    46       lifecycleManager.Stop();
    47       lifecycleManager = null;
     44      if (lifecycleManager != null) {
     45        lifecycleManager.Stop();
     46        lifecycleManager = null;
     47      }
    4848      LogFactory.GetLogger(this.GetType().Name).Log("Init(): LifecycleManager stopped");
    49     } 
     49    }
    5050  }
    5151}
Note: See TracChangeset for help on using the changeset viewer.