Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit e64e49f

Browse files
committed
Unset isErrorTriggered correctly
1 parent a7acb88 commit e64e49f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/botPage/bot/Interpreter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ export default class Interpreter {
153153
}
154154
loop() {
155155
if (this.stopped || !this.interpreter.run()) {
156-
this.isErrorTriggered = false;
157156
this.onFinish(this.interpreter.pseudoToNative(this.interpreter.value));
158157
}
159158
}
@@ -173,6 +172,7 @@ export default class Interpreter {
173172
this.$scope.api.disconnect();
174173
}
175174
this.stopped = true;
175+
this.isErrorTriggered = false;
176176

177177
globalObserver.emit('bot.stop');
178178
globalObserver.setState({ isRunning: false });

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy