Changeset 15190


Ignore:
Timestamp:
07/10/17 22:04:22 (11 days ago)
Author:
abeham
Message:

#2258: fixed starting of cloned algs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Async/HeuristicLab.Algorithms.DataAnalysis/3.4/CrossValidation.cs

    r15065 r15190  
    320320            clonedAlgorithm.ExecutionState == ExecutionState.Paused) {
    321321          ticket.Wait();
    322           clonedAlgorithm.StartAsync(cancellationToken);
     322          lock (locker) {
     323            if (pausePending || stopPending) break;
     324            clonedAlgorithm.StartAsync(cancellationToken);
     325          }
    323326        }
    324327      }
Note: See TracChangeset for help on using the changeset viewer.