Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/17/09 14:34:13 (15 years ago)
Author:
kgrading
Message:

refactoring (#547)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/3.2/Core.cs

    r1589 r1602  
    205205
    206206        PluginManager.Manager.Initialize();
     207        //Todo: make a set & override the equals method
     208        List<byte[]> files = new List<byte[]>();
     209        foreach (CachedHivePluginInfo plugininfo in PluginCache.Instance.GetPlugins(e.Result.Job.PluginsNeeded))
     210          files.AddRange(plugininfo.PluginFiles);
    207211       
    208         AppDomain appDomain = PluginManager.Manager.CreateAndInitAppDomainWithSandbox(e.Result.Job.Id.ToString(), sandboxed, typeof(HeuristicLab.Hive.Engine.HiveEngine));
     212        AppDomain appDomain = PluginManager.Manager.CreateAndInitAppDomainWithSandbox(e.Result.Job.Id.ToString(), sandboxed, typeof(HeuristicLab.Hive.Engine.HiveEngine), files);
    209213        appDomain.UnhandledException += new UnhandledExceptionEventHandler(appDomain_UnhandledException);
    210214        lock (engines) {                   
Note: See TracChangeset for help on using the changeset viewer.