Changeset 5591 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Web/Hive-3.4/App_Code
- Timestamp:
- 03/02/11 12:42:21 (14 years ago)
- 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 24 24 using System.Linq; 25 25 using System.Web; 26 using HeuristicLab.Hive.Server.Core;27 26 using HeuristicLab.Services.Hive.Common.ServiceContracts; 28 27 using HeuristicLab.Services.Hive; … … 30 29 using HeuristicLab.Services.Hive.Common; 31 30 32 namespace HeuristicLab. Hive.Server.Core.IISModules {31 namespace HeuristicLab.Services.Hive.IISModules { 33 32 public class HiveServerModule : IHttpModule { 34 private static IHiveService hiveService;35 33 private static ILifecycleManager lifecycleManager; 36 34 … … 44 42 45 43 public void Dispose() { 46 lifecycleManager.Stop(); 47 lifecycleManager = null; 44 if (lifecycleManager != null) { 45 lifecycleManager.Stop(); 46 lifecycleManager = null; 47 } 48 48 LogFactory.GetLogger(this.GetType().Name).Log("Init(): LifecycleManager stopped"); 49 } 49 } 50 50 } 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.