clear results context on every run

This commit is contained in:
Martin McKeaveney 2025-01-31 16:26:39 +00:00
parent 2dc3a693a8
commit 2d561f124d
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ export class IsolatedVM implements VM {
code = ` code = `
try { try {
results = {}
results['${this.runResultKey}']=${this.codeWrapper(code)} results['${this.runResultKey}']=${this.codeWrapper(code)}
} catch (e) { } catch (e) {
results['${this.runErrorKey}']=e results['${this.runErrorKey}']=e