Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JustOff committed Feb 6, 2017
1 parent 81a67c8 commit 415446b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/progressListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ exports.onWindowOpen = function(event) {
PBListener.initialize(browser);
};

// Cleanup
exports.cleanup = function() {
let winenu = Services.wm.getEnumerator("navigator:browser");
while (winenu.hasMoreElements()) {
_PBListener.uninitialize(winenu.getNext().gBrowser);
PBListener.uninitialize(winenu.getNext().gBrowser);
}
};

0 comments on commit 415446b

Please sign in to comment.