Browse Source

Reset running & awaitingFeedback values on Reset

ApisNecros 1 year ago
parent
commit
985081e604
1 changed files with 2 additions and 0 deletions
  1. 2 0
      IntComp/Computer.js

+ 2 - 0
IntComp/Computer.js

@@ -517,6 +517,8 @@ module.exports = class Computer {
         this.stack = new Stack(this._initialMemory);
         this.outputValues = [];
         this.options.inputModeMap = DeepClone(this.options._initialInputModeMap);
+        this.running = false;
+        this.awaitingInput = false;
     }
 
     /**