defer by when still loading panes

This commit is contained in:
partouf
2023-04-19 20:50:36 +02:00
parent a0e42db400
commit ceefc5d1f8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ export class Compiler extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Co
this.id = state.id || hub.nextCompilerId();
this.infoByLang = {};
this.deferCompiles = hub.deferred;
this.deferCompiles = true;
this.needsCompile = false;
this.initLangAndCompiler(state);
+1 -1
View File
@@ -202,7 +202,7 @@ export class Executor extends Pane<ExecutorState> {
this.contentRoot = this.domRoot.find('.content');
this.infoByLang = {};
this.deferCompiles = hub.deferred;
this.deferCompiles = true;
this.needsCompile = false;
this.source = '';
this.lastResult = {code: -1, timedOut: false, stdout: [], stderr: []};