Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/16/11 13:31:37 (13 years ago)
Author:
cneumuel
Message:

#1260

  • some changes due to the removal of Disposable (r5706)
  • copy PluginInfrastructure files into PluginCache folder in slaves (needed due to r5703)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.3/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Console/3.3/LogServiceReader.cs

    r5588 r5707  
    44using System.Windows.Forms;
    55using HeuristicLab.Clients.Common;
     6using HeuristicLab.Hive.Contracts;
    67using HeuristicLab.Hive.Slave.Console.SlaveConsoleService;
     8using System.ServiceModel;
    79
    810namespace HeuristicLab.Hive.Slave.Console {
     
    2426    private void timer_Tick(object sender, EventArgs e) {
    2527      try {
    26         using (var factory = ClientFactory.CreateChannelFactory<ISlaveConsoleCommunicator>("SlaveConsoleTcpEndpointClient")) {
     28        using (var factory = new DisposableWrapper<ChannelFactory<ISlaveConsoleCommunicator>>(ClientFactory.CreateChannelFactory<ISlaveConsoleCommunicator>("SlaveConsoleTcpEndpointClient"))) {
    2729          var slaveClient = factory.Obj.CreateChannel();
    2830          try {
Note: See TracChangeset for help on using the changeset viewer.