Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/06/11 19:21:45 (13 years ago)
Author:
ascheibe
Message:

#1672 implemented reviewing comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveJobs/EngineHiveTask.cs

    r6976 r7142  
    5555      IEnumerable<Type> usedTypes;
    5656
    57       // clone operation and remove unnecessary scopes; don't do this earlier to avoid memory problems
    58       //lock (locker) {
    59         ((IAtomicOperation)ItemTask.InitialOperation).Scope.Parent = parentScopeClone;
    60         ItemTask.InitialOperation = (IOperation)ItemTask.InitialOperation.Clone();
    61         ((IAtomicOperation)ItemTask.InitialOperation).Scope.ClearParentScopes();
    62         jobData.Data = PersistenceUtil.Serialize(ItemTask, out usedTypes);
    63       //}
     57      // clone operation and remove unnecessary scopes; don't do this earlier to avoid memory problems     
     58      ((IAtomicOperation)ItemTask.InitialOperation).Scope.Parent = parentScopeClone;
     59      ItemTask.InitialOperation = (IOperation)ItemTask.InitialOperation.Clone();
     60      ((IAtomicOperation)ItemTask.InitialOperation).Scope.ClearParentScopes();
     61      jobData.Data = PersistenceUtil.Serialize(ItemTask, out usedTypes);
    6462
    6563      // add type objects from object graph to work around ticket #1527
     
    6866
    6967      PluginUtil.CollectDeclaringPlugins(plugins, usedTypes);
    70      
     68
    7169      return jobData;
    7270    }
Note: See TracChangeset for help on using the changeset viewer.