Skip to content

Commit 1cb33e7

Browse files
committed
fix insignificant bug in RESET_WRAPPER_HISTORY handler
1 parent eb925b5 commit 1cb33e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api-monitor-cs-main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ windowListen((o) => {
7272
} else if (o.msg === EMsg.RESET_WRAPPER_HISTORY) {
7373
originalMetrics = null;
7474
cleanHistory();
75-
!tick.isPending && tick.trigger();
75+
!tick.isPending() && tick.trigger();
7676
} else if (o.msg === EMsg.TIMER_COMMAND) {
7777
runTimerCommand(o.type, o.handler);
7878
} else if (o.msg === EMsg.MEDIA_COMMAND) {

0 commit comments

Comments
 (0)