Explorar o código

Reset running & awaitingFeedback values on Reset

ApisNecros hai 1 ano
pai
achega
985081e604
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;
     }
 
     /**