Skip to content

Commit

Permalink
Merge pull request #3799 from video-dev/bugfix/fps-interval
Browse files Browse the repository at this point in the history
Fix setInterval/Timer regression in fps-controller
  • Loading branch information
robwalch committed Apr 19, 2021
2 parents bbe24e6 + 7ae3331 commit d31cc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/fps-controller.ts
Expand Up @@ -58,7 +58,7 @@ class FPSController implements ComponentAPI {
}

self.clearInterval(this.timer);
this.timer = self.setTimeout(
this.timer = self.setInterval(
this.checkFPSInterval.bind(this),
config.fpsDroppedMonitoringPeriod
);
Expand Down

0 comments on commit d31cc5b

Please sign in to comment.