fix(early-timer): rescheduling inside handler getting instantly reset
This commit is contained in:
parent
4848c4e62d
commit
76639d2993
1 changed files with 1 additions and 1 deletions
|
@ -58,8 +58,8 @@ export class EarlyTimer {
|
|||
* Emit the timer right now
|
||||
*/
|
||||
emitNow(): void {
|
||||
this._handler()
|
||||
this.reset()
|
||||
this._handler()
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue