Changeset 1117


Ignore:
Timestamp:
01/13/09 20:16:10 (12 years ago)
Author:
abeham
Message:

changed logger to clone logged value instead of storing the reference (ticket #464)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Logging/Logger.cs

    r283 r1117  
    4343
    4444      for (int i = 0; i < scope.SubScopes.Count; i++)
    45         values[i] = scope.SubScopes[i].GetVariableValue<ObjectData>("Value", false);
     45        values[i] = (ObjectData)scope.SubScopes[i].GetVariableValue<ObjectData>("Value", false).Clone();
    4646
    4747      Log log = GetVariableValue<Log>("Log", scope, false, false);
Note: See TracChangeset for help on using the changeset viewer.