1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

stop listening for u2f on destroy

This commit is contained in:
Kyle Spearrin
2017-07-24 12:02:57 -04:00
parent 55a50fac83
commit d6d535ed9e
2 changed files with 12 additions and 1 deletions

View File

@@ -179,7 +179,7 @@ angular
}, 1000);
});
scope.$on("$destroy", function () {
scope.$on('$destroy', function () {
if (interval) {
clearInterval(interval);
}