Changeset 933
- Timestamp:
- 5/1/2009 12:38:40 AM (4 years ago)
- File:
-
- 1 edited
-
branches/eraser6/Manager/RemoteExecutor.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Manager/RemoteExecutor.cs
r928 r933 105 105 protected override void Dispose(bool disposing) 106 106 { 107 //Close the polling thread that creates new server instances 107 108 thread.Abort(); 109 110 //Acquire all available locks to ensure no more server instances exist, 111 //then destroy the semaphore 112 for (int i = 0; i < maxServerInstances; ++i) 113 serverLock.WaitOne(); 114 serverLock.Close(); 115 108 116 base.Dispose(disposing); 109 117 }
Note: See TracChangeset
for help on using the changeset viewer.
