Changeset 9442


Ignore:
Timestamp:
05/06/13 09:12:55 (8 years ago)
Author:
ascheibe
Message:

#1890 fixed a bug that occurred when the Hive login failed and the Hive Job Manager was closed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs

    r9230 r9442  
    119119
    120120    protected override void OnClosing(FormClosingEventArgs e) {
    121       if (Content != null && Content.Jobs.Any(x => x.IsProgressing)) {
     121      if (Content != null && Content.Jobs != null && Content.Jobs.Any(x => x.IsProgressing)) {
    122122        DialogResult result = MessageBox.Show("There are still unfinished down/uploads. Are you sure you want to close the window?", "HeuristicLab Hive Job Manager", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
    123123
     
    131131
    132132    protected override void OnClosed(FormClosedEventArgs e) {
    133       if (Content != null) {
     133      if (Content != null && Content.Jobs != null) {
    134134        Content.ClearHiveClient();
    135135        Content = null;
Note: See TracChangeset for help on using the changeset viewer.