From 46d53e5c8c55cb82a768eb438ce4edb9fcdc321d Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 10 Jul 2020 08:14:33 -0600 Subject: [PATCH] Reset before trigger just in case the function triggers too --- src/utils/MarkedExecution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/MarkedExecution.ts b/src/utils/MarkedExecution.ts index d866720ecd..de6cf05953 100644 --- a/src/utils/MarkedExecution.ts +++ b/src/utils/MarkedExecution.ts @@ -50,8 +50,8 @@ export class MarkedExecution { */ public trigger() { if (!this.marked) return; + this.reset(); // reset first just in case the fn() causes a trigger() this.fn(); - this.reset(); } /**