Changeset 766 for trunk/sources/HeuristicLab.Grid
- Timestamp:
- 11/15/08 22:08:33 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Grid
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Grid/EngineRunner.cs
r440 r766 25 25 using HeuristicLab.Core; 26 26 using System.Threading; 27 using HeuristicLab.PluginInfrastructure; 28 using System.Reflection; 27 29 28 30 namespace HeuristicLab.Grid { -
trunk/sources/HeuristicLab.Grid/GridClient.cs
r440 r766 26 26 using System.Diagnostics; 27 27 using System.Threading; 28 using HeuristicLab.PluginInfrastructure; 28 29 29 30 namespace HeuristicLab.Grid { … … 134 135 if(gotEngine && !stopped) { 135 136 executing = true; 136 AppDomain engineDomain = AppDomain.CreateDomain("Engine domain", null, AppDomain.CurrentDomain.SetupInformation); 137 EngineRunner runner = (EngineRunner)engineDomain.CreateInstanceAndUnwrap("HeuristicLab.Grid", typeof(EngineRunner).FullName); 137 AppDomain engineDomain = PluginManager.Manager.CreateAndInitAppDomain("Engine domain"); 138 Type engineRunnerType = typeof(EngineRunner); 139 140 EngineRunner runner = (EngineRunner)engineDomain.CreateInstanceAndUnwrap(engineRunnerType.Assembly.GetName().Name, engineRunnerType.FullName); 138 141 byte[] resultXml = runner.Execute(engineXml); 139 142 bool success = false;
Note: See TracChangeset
for help on using the changeset viewer.