disableHeartBeatTimer doesn't really removes event listeners #14586
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
Help wanted
Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Milestone
In piwik.js:
setUpHeartBeat() attaches to 'focus' and 'blur' window events without capture:
But disableHeartBeatTimer() removes those events with capture (third parameter):
So event listeners are not really removed and script continue to send ping requests.
The text was updated successfully, but these errors were encountered: