Changeset 15478
- Timestamp:
- 11/17/17 13:21:34 (7 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs
r15419 r15478 67 67 } else { 68 68 hiveExperimentListView.Content = Content.Jobs; 69 if (Content != null) { 70 try { 71 await System.Threading.Tasks.Task.Run(() => Content.Refresh()); 72 } catch (Exception ex) { 73 HandleServiceException(ex); 74 } 69 try { 70 await System.Threading.Tasks.Task.Run(() => Content.Refresh()); 71 } catch (Exception ex) { 72 HandleServiceException(ex); 75 73 } 76 74 } -
trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveClient.cs
r15419 r15478 96 96 var jobsLoaded = HiveServiceLocator.Instance.CallHiveService<IEnumerable<Job>>(s => s.GetJobs()); 97 97 98 foreach (var j in jobsLoaded) { 99 jobs.Add(new RefreshableJob(j)); 100 } 101 } catch (NullReferenceException) { 102 // jobs was set to null during ClearHiveClient 98 try { 99 foreach (var j in jobsLoaded) { 100 jobs.Add(new RefreshableJob(j)); 101 } 102 } catch (NullReferenceException) { 103 // jobs was set to null during ClearHiveClient 104 } 103 105 } catch { 104 106 jobs = null;
Note: See TracChangeset
for help on using the changeset viewer.