- Timestamp:
- 2/8/2010 8:25:51 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview/Eraser.Manager/RemoteExecutor.cs
r1745 r1772 104 104 protected override void Dispose(bool disposing) 105 105 { 106 if (thread == null || serverLock == null) 107 return; 108 106 109 if (disposing) 107 110 { 108 111 //Close the polling thread that creates new server instances 109 112 thread.Abort(); 113 thread.Join(); 110 114 111 115 //Close all waiting streams … … 121 125 } 122 126 127 thread = null; 128 serverLock = null; 123 129 base.Dispose(disposing); 124 130 } … … 315 321 protected override void Dispose(bool disposing) 316 322 { 323 if (client == null) 324 return; 325 317 326 if (disposing) 318 327 { … … 320 329 } 321 330 331 client = null; 322 332 base.Dispose(disposing); 323 333 }
Note: See TracChangeset
for help on using the changeset viewer.
