Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1481


Ignore:
Timestamp:
04/02/09 13:52:55 (16 years ago)
Author:
kgrading
Message:

bugfix of shutdown (#473)

Location:
trunk/sources
Files:
1 added
3 edited

Legend:

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

    r1449 r1481  
    103103        DetermineAction(container);
    104104      }
     105      Console.WriteLine("ended!");
    105106    }   
    106107
     
    137138        //Hard shutdown of the client
    138139        case MessageContainer.MessageType.Shutdown:
     140          lock (engines) {
     141            foreach (KeyValuePair<Guid, AppDomain> kvp in appDomains)
     142              AppDomain.Unload(kvp.Value);
     143          }
    139144          abortRequested = true;
    140145          beat.StopHeartBeat();
  • trunk/sources/HeuristicLab.Hive.Client.Core/CoreApplication.cs

    r816 r1481  
    3131
    3232namespace HeuristicLab.Hive.Client.Core {
    33   [ClassInfo(Name = "Hive Client", Description = "Hive Client Core baseclass", AutoRestart = true)]
     33  [ClassInfo(Name = "Hive Client", Description = "Hive Client Core baseclass", AutoRestart = false)]
    3434  public class CoreApplication: ApplicationBase {
    3535    public override void Run() {
  • trunk/sources/HeuristicLab.Hive.Client.Core/PluginCache.cs

    r1450 r1481  
    3737
    3838      List<CachedPlugin> receivedPlugins = WcfService.Instance.RequestPlugins(missingPlugins);
    39       if (receivedPlugins != null)
     39      if (receivedPlugins != null) {
    4040        neededPlugins.AddRange(receivedPlugins);
    41       else
     41        pluginCache.AddRange(receivedPlugins);
     42      } else
    4243        Logging.Instance.Error(this.ToString(), "Fetching of the plugins failed!");
    4344
Note: See TracChangeset for help on using the changeset viewer.