Procházet zdrojové kódy

Reset running & awaitingFeedback values on Reset

ApisNecros před 1 rokem
rodič
revize
985081e604
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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;
     }
 
     /**