function stopListening() {
    if (!this._listening) {
      return;
    }

    this._log.debug("Stopping listening and removing AddonManager listeners.");
    AddonManager.removeInstallListener(this);
    AddonManager.removeAddonListener(this);
    this._listening = false;
  }
/**
   * Tells the instance to stop listening for AddonManager changes.
   *
   * The reconciler should always be listening. This should only be called when
   * the instance is being destroyed.
   *
   * This function will get called automatically on XPCOM shutdown. However, it
   * is a best practice to call it yourself.
   */
Tells the instance to stop listening for AddonManager changes.
The reconciler should always be listening. This should only be called when
the instance is being destroyed.

This function will get called automatically on XPCOM shutdown. However, it
is a best practice to call it yourself.
Tells the instance to stop listening for AddonManager changes . The reconciler should always be listening . This should only be called when the instance is being destroyed . This function will get called automatically on XPCOM shutdown . However it is a best practice to call it yourself .
function stopListening() {
    if (!this._listening) {
      return;
    }
    this._log.debug("Stopping listening and removing AddonManager listeners.");
    AddonManager.removeInstallListener(this);
    AddonManager.removeAddonListener(this);
    this._listening = false;
  }
function stopListening ( ) { if ( ! this . _listening ) { return ; } this . _log . debug ( "Stopping listening and removing AddonManager listeners." ) ; AddonManager . removeInstallListener ( this ) ; AddonManager . removeAddonListener ( this ) ; this . _listening = false ; }
Tells the instance to stop listening for AddonManager changes.
Tells the instance to stop listening for AddonManager changes .