Browse Source

Empty outputComputer and outputValues on Reset

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

+ 2 - 0
IntComp/Computer.js

@@ -392,6 +392,8 @@ module.exports = class Computer {
      */
     Reset() {
         this.stack = new Stack(this._initialMemory);
+        this.outputValues = null;
+        this.outputComputer = null;
     }
 
     /**