Changeset 6516
- Timestamp:
- 07/05/11 15:12:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/ThreadSafeLog.cs
r6424 r6516 66 66 RegisterLogEvents(); 67 67 } 68 ~ThreadSafeLog() {69 locker.Dispose();70 }71 68 72 69 protected ThreadSafeLog(ThreadSafeLog original, Cloner cloner) 73 70 : base(original, cloner) { 74 log = cloner.Clone(original.log); 71 original.locker.EnterReadLock(); 72 try { 73 log = cloner.Clone(original.log); 74 } 75 finally { locker.ExitReadLock(); } 75 76 } 76 77 public override IDeepCloneable Clone(Cloner cloner) { … … 134 135 } 135 136 #endregion 137 138 136 139 } 137 140 }
Note: See TracChangeset
for help on using the changeset viewer.