Skip to content

Commit

Permalink
fix insignificant bug in RESET_WRAPPER_HISTORY handler
Browse files Browse the repository at this point in the history
  • Loading branch information
zendive committed Feb 11, 2025
1 parent eb925b5 commit 1cb33e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-monitor-cs-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ windowListen((o) => {
} else if (o.msg === EMsg.RESET_WRAPPER_HISTORY) {
originalMetrics = null;
cleanHistory();
!tick.isPending && tick.trigger();
!tick.isPending() && tick.trigger();
} else if (o.msg === EMsg.TIMER_COMMAND) {
runTimerCommand(o.type, o.handler);
} else if (o.msg === EMsg.MEDIA_COMMAND) {
Expand Down

0 comments on commit 1cb33e7

Please sign in to comment.