Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.Clients.Hive/3.3/HiveServiceLocator.cs
- Timestamp:
- 05/04/17 17:19:35 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Clients.Hive/3.3/HiveServiceLocator.cs
r14185 r14927 87 87 WorkingEndpoint = endpointConfigurationName; 88 88 return cl; 89 } 90 catch (EndpointNotFoundException exc) { 89 } catch (EndpointNotFoundException exc) { 91 90 exception = exc; 92 91 EndpointRetries++; … … 114 113 try { 115 114 return call(client); 116 } 117 finally { 115 } finally { 118 116 try { 119 117 client.Close(); 120 } 121 catch (Exception) { 118 } catch (Exception) { 122 119 client.Abort(); 123 120 } … … 131 128 try { 132 129 call(client); 133 } 134 finally { 130 } finally { 135 131 try { 136 132 client.Close(); 137 } 138 catch (Exception) { 133 } catch (Exception) { 139 134 client.Abort(); 140 135 } … … 146 141 try { 147 142 client.Close(); 148 } 149 catch (Exception) { 143 } catch (Exception) { 150 144 client.Abort(); 151 145 }
Note: See TracChangeset
for help on using the changeset viewer.