Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/16/11 00:18:48 (13 years ago)
Author:
cneumuel
Message:

#1233

  • stability improvements for HiveEngine
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/Progress/Progress.cs

    r4629 r6200  
    6464    private void OnFinished() {
    6565      var handler = Finished;
    66       if (handler != null) handler(this, EventArgs.Empty);
     66      try {
     67        if (handler != null) handler(this, EventArgs.Empty);
     68      }
     69      catch (Exception) { }
    6770    }
    6871
     
    7073    private void OnStatusChanged() {
    7174      var handler = StatusChanged;
    72       if (handler != null) handler(this, EventArgs.Empty);
     75      try {
     76        if (handler != null) handler(this, EventArgs.Empty);
     77      }
     78      catch (Exception) { }
    7379    }
    7480
     
    7682    private void OnProgressChanged() {
    7783      var handler = ProgressValueChanged;
    78       if (handler != null) handler(this, EventArgs.Empty);
     84      try {
     85        if (handler != null) handler(this, EventArgs.Empty);
     86      }
     87      catch (Exception) { }
    7988    }
    8089    #endregion
Note: See TracChangeset for help on using the changeset viewer.