Changeset 13912


Ignore:
Timestamp:
06/17/16 14:26:42 (2 years ago)
Author:
ascheibe
Message:

#2603 merged r13813 into stable

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Optimizer

  • stable/HeuristicLab.Optimizer/3.3/CreateExperimentDialog.cs

    r13911 r13912  
    2626using System.Linq;
    2727using System.Text;
    28 using System.Threading;
    2928using System.Windows.Forms;
    3029using HeuristicLab.Core;
     
    6463
    6564    private StringBuilder failedInstances;
    66     private readonly EventWaitHandle backgroundWorkerWaitHandle = new ManualResetEvent(false);
    6765    private bool suppressTreeViewEventHandling, suppressCheckAllNoneEventHandling;
    6866
     
    105103      SetMode(DialogMode.CreatingExperiment);
    106104      experimentCreationBackgroundWorker.RunWorkerAsync();
    107       backgroundWorkerWaitHandle.WaitOne(); // make sure the background worker has started before exiting
    108105    }
    109106
     
    767764    #region Experiment creation
    768765    private void experimentCreationBackgroundWorker_DoWork(object sender, DoWorkEventArgs e) {
    769       backgroundWorkerWaitHandle.Set(); // notify the ok button that we're busy now
    770766      failedInstances = new StringBuilder();
    771767      var localExperiment = new Experiment();
Note: See TracChangeset for help on using the changeset viewer.