fix(early-timer): rescheduling inside handler getting instantly reset

This commit is contained in:
teidesu 2022-11-05 02:53:19 +03:00 committed by Alina Sireneva
parent 4848c4e62d
commit 76639d2993
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

@ -58,8 +58,8 @@ export class EarlyTimer {
* Emit the timer right now
*/
emitNow(): void {
this._handler()
this.reset()
this._handler()
}
/**