Skip to content

Commit

Permalink
Null trayListener in disable()
Browse files Browse the repository at this point in the history
  • Loading branch information
AzzamAlsharafi committed Aug 26, 2022
1 parent 63f974a commit 8d99c31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ function enable() {
function disable() {
if (trayListener != null) {
settings.disconnect(trayListener);
trayListener = null;
}

if (trayMenu != null) {
Expand Down

0 comments on commit 8d99c31

Please sign in to comment.