@@ -140,7 +140,7 @@ export class Board {
140140  /** 
141141   * Timeout for a pending start call due to StopKind.Reset. 
142142   */ 
143-   private  pendingRestart : any ; 
143+   private  pendingRestartTimeout : any ; 
144144  /** 
145145   * Timeout for the next frame of the panic animation. 
146146   */ 
@@ -389,8 +389,8 @@ export class Board {
389389    if  ( this . modulePromise  ||  this . module )  { 
390390      throw  new  Error ( "Module already exists!" ) ; 
391391    } 
392-     clearTimeout ( this . pendingRestart ) ; 
393-     this . pendingRestart  =  null ; 
392+     clearTimeout ( this . pendingRestartTimeout ) ; 
393+     this . pendingRestartTimeout  =  null ; 
394394
395395    this . modulePromise  =  this . createModule ( ) ; 
396396    const  module  =  await  this . modulePromise ; 
@@ -436,7 +436,7 @@ export class Board {
436436        break ; 
437437      } 
438438      case  StopKind . Reset : { 
439-         this . pendingRestart  =  setTimeout ( ( )  =>  this . start ( ) ,  0 ) ; 
439+         this . pendingRestartTimeout  =  setTimeout ( ( )  =>  this . start ( ) ,  0 ) ; 
440440        break ; 
441441      } 
442442      case  StopKind . BriefStop : { 
@@ -464,9 +464,9 @@ export class Board {
464464        this . displayStoppedState ( ) ; 
465465      } 
466466    } 
467-     if  ( this . pendingRestart )  { 
468-       clearTimeout ( this . pendingRestart ) ; 
469-       this . pendingRestart  =  null ; 
467+     if  ( this . pendingRestartTimeout )  { 
468+       clearTimeout ( this . pendingRestartTimeout ) ; 
469+       this . pendingRestartTimeout  =  null ; 
470470      if  ( ! brief )  { 
471471        this . displayStoppedState ( ) ; 
472472      } 
0 commit comments