Prechádzať zdrojové kódy

Reset running & awaitingFeedback values on Reset

ApisNecros 1 rok pred
rodič
commit
985081e604
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  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;
     }
 
     /**