Add searching for output tabs.

Remove all existing chefworkers before starting a bake.
Clear breakpoint when starting a bake
This commit is contained in:
j433866 2019-05-15 09:37:07 +01:00
parent 0855dc617f
commit 5d52f4a760
6 changed files with 193 additions and 21 deletions

View file

@ -365,7 +365,12 @@ class WorkerWaiter {
* @param {boolean} step
*/
bake(recipeConfig, options, progress, step) {
for (let i = this.chefWorkers.length - 1; i >= 0; i--) {
this.removeChefWorker(this.chefWorkers[i]);
}
this.setBakingStatus(true);
this.manager.recipe.updateBreakpointIndicator(false);
this.bakeStartTime = new Date().getTime();
this.bakeId++;
this.recipeConfig = recipeConfig;