Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/18/17 12:18:47 (7 years ago)
Author:
jkarder
Message:

#2830:

  • the asynchronous calls are now awaited
  • added extension method to flatten and handle inner exceptions of AggregateExceptions
  • fixed some catch clauses
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/RunCreation/Views/OKBAlgorithmView.cs

    r15287 r15367  
    324324      if (Content != null) Content.StoreAlgorithmInEachRun = storeAlgorithmInEachRunCheckBox.Checked;
    325325    }
    326     private void startButton_Click(object sender, EventArgs e) {
    327       Content.StartAsync();
     326    private async void startButton_Click(object sender, EventArgs e) {
     327      await Content.StartAsync();
    328328    }
    329329    private void pauseButton_Click(object sender, EventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.