Changeset 14252 for branches/thasling/DistributedGA/DistributedGA.Hive
- Timestamp:
- 08/12/16 09:15:12 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.Hive/P2PMigrationAnalyzer.cs
r14061 r14252 39 39 [Item("P2PMigrationAnalyzer", "Migrates individuals using a P2P network.")] 40 40 [StorableClass] 41 public class P2PMigrationAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator {41 public class P2PMigrationAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator, IDisposable { 42 42 // state: messagehandler 43 43 [ExcludeFromObjectGraphTraversalAttribute] … … 135 135 public override void ClearState() { 136 136 base.ClearState(); 137 h.Dispose(); 138 h = null; 137 Dispose(); 139 138 } 140 139 … … 299 298 } 300 299 300 public void Dispose() { 301 h.Dispose(); 302 h = null; 303 } 304 301 305 } 302 306 }
Note: See TracChangeset
for help on using the changeset viewer.