Changeset 12579
- Timestamp:
- 07/03/15 11:19:10 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveClient.cs
r12012 r12579 76 76 #endregion 77 77 78 private HiveClient() { 79 //this will never be deregistered 80 TaskScheduler.UnobservedTaskException += new EventHandler<UnobservedTaskExceptionEventArgs>(TaskScheduler_UnobservedTaskException); 81 } 82 83 private void TaskScheduler_UnobservedTaskException(object sender, UnobservedTaskExceptionEventArgs e) { 84 e.SetObserved(); // avoid crash of process because task crashes. first exception found is handled in Results property 85 throw new HiveException("Unobserved Exception in ConcurrentTaskDownloader", e.Exception); 86 } 78 private HiveClient() { } 87 79 88 80 public void ClearHiveClient() {
Note: See TracChangeset
for help on using the changeset viewer.