Changeset 6039 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Tests/SlaveCommListener.cs
- Timestamp:
- 04/22/11 10:58:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Tests/SlaveCommListener.cs
r6033 r6039 56 56 57 57 public void Close() { 58 if (pipeFactory.State != CommunicationState.Closed && pipeFactory.State != CommunicationState.Closing) { 58 if (pipeFactory.State != CommunicationState.Closed && 59 pipeFactory.State != CommunicationState.Closing && 60 pipeFactory.State != CommunicationState.Faulted) { 59 61 pipeProxy.Unsubscribe(); 62 } 63 try { 60 64 pipeFactory.Close(); 65 } 66 catch (Exception) { 67 pipeFactory.Abort(); 61 68 } 62 69 }
Note: See TracChangeset
for help on using the changeset viewer.