updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-04-17 10:05:15 -07:00
committed by GitHub
parent a490b4db8c
commit 9544251b1a
8 changed files with 5 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -232,6 +232,7 @@ export class KclManager {
updateCode = false, updateCode = false,
executionId?: number executionId?: number
) { ) {
if (!this.engineCommandManager.engineConnection?.isReady()) return
const currentExecutionId = executionId || Date.now() const currentExecutionId = executionId || Date.now()
this._cancelTokens.set(currentExecutionId, false) this._cancelTokens.set(currentExecutionId, false)

View File

@ -268,6 +268,10 @@ export async function executeAst({
: _executor(ast, programMemoryInit(), engineCommandManager, false)) : _executor(ast, programMemoryInit(), engineCommandManager, false))
await engineCommandManager.waitForAllCommands() await engineCommandManager.waitForAllCommands()
engineCommandManager.addCommandLog({
type: 'execution-done',
data: null,
})
return { return {
logs: [], logs: [],
errors: [], errors: [],