- Timestamp:
- 07/17/21 20:53:49 (3 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk merged: 17221-17222,17267
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive.JobManager
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Clients.Hive.JobManager merged: 17221-17222,17267
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs
r17181 r18025 143 143 protected override void OnClosed(FormClosedEventArgs e) { 144 144 if (Content != null && Content.Jobs != null) { 145 Content.ClearHiveClient(); 145 // clear hive client only if it is not displayed by any other content view (i.e. job manager) 146 var contentViews = MainFormManager.MainForm.Views.OfType<IContentView>() 147 .Where(v => v.Content == Content && v != this); 148 if (!contentViews.Any()) 149 Content.ClearHiveClient(); 150 146 151 Content = null; 147 152 }
Note: See TracChangeset
for help on using the changeset viewer.