Changeset 7285
- Timestamp:
- 01/06/12 21:41:16 (13 years ago)
- Location:
- branches/HiveHiveEngine/HeuristicLab.Clients.Hive/3.3
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveHiveEngine/HeuristicLab.Clients.Hive/3.3/HeuristicLab.Clients.Hive-3.3.csproj
r7249 r7285 119 119 <Compile Include="HiveAdminClient.cs" /> 120 120 <Compile Include="HiveClient.cs" /> 121 <Compile Include="IHiveEngine.cs" /> 121 122 <Compile Include="Settings.Designer.cs"> 122 123 <AutoGen>True</AutoGen> -
branches/HiveHiveEngine/HeuristicLab.Clients.Hive/3.3/HiveClient.cs
r7259 r7285 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Configuration;25 24 using System.IO; 26 25 using System.Linq; … … 113 112 jobs = null; 114 113 throw; 115 } finally { 114 } 115 finally { 116 116 OnRefreshed(); 117 117 } … … 312 312 } 313 313 refreshableJob.Job.Modified = false; 314 } finally { 314 } 315 finally { 315 316 refreshableJob.IsProgressing = false; 316 317 } … … 321 322 /// </summary> 322 323 private static Plugin UploadConfigurationFile(IHiveService service, List<Plugin> onlinePlugins) { 323 string exeFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Settings.Default.HLBinaryName); 324 string configFileName = Path.GetFileName(ConfigurationManager.OpenExeConfiguration(exeFilePath).FilePath); 325 string configFilePath = ConfigurationManager.OpenExeConfiguration(exeFilePath).FilePath; 324 string configFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Settings.Default.HLBinaryName + ".config"); 325 string configFileName = Settings.Default.HLBinaryName + ".config"; 326 326 byte[] hash; 327 327 … … 414 414 if (!ae.InnerExceptions.All(e => e is TaskCanceledException)) throw ae; // for some reason the WaitAll throws a AggregateException containg a TaskCanceledException. i don't know where it comes from, however the tasks all finish properly, so for now just ignore it 415 415 } 416 } finally { 416 } 417 finally { 417 418 if (!semaphoreReleased) taskUploadSemaphore.Release(); 418 419 } … … 465 466 } 466 467 refreshableJob.OnLoaded(); 467 } finally { 468 } 469 finally { 468 470 refreshableJob.IsProgressing = false; 469 471 }
Note: See TracChangeset
for help on using the changeset viewer.