Skip to content
This repository has been archived by the owner on May 26, 2018. It is now read-only.

Commit

Permalink
Close window on addon removal (#987)
Browse files Browse the repository at this point in the history
* Fix links in changelog (#977)

* Update non breaking dependencies (#985)

- addons-linter
- eslint-plugin-mozilla
- eslint-plugin-react
- husky
- react-player
- webpack

Also needed to add a new dep:
- eslint-no-unsanitized

Looks like this is a dep of eslint-plugin-mozilla that isn't listed correctly in the
eslint-plugin-mozilla package. This package is for some reason bundled in with gecko
so I do not have the time to contribute a fix at this time. Hopefully I will find
the time later.

* Close window on addon removal

- fixes #970
  • Loading branch information
Dave Justice committed Aug 17, 2017
1 parent f589218 commit 38e679a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap.js
Expand Up @@ -61,6 +61,7 @@ function startup(data, reason) { // eslint-disable-line no-unused-vars
}

function shutdown(data, reason) { // eslint-disable-line no-unused-vars
closeWindow();
LegacyExtensionsUtils.getEmbeddedExtensionFor({
id: ADDON_ID,
resourceURI: data.resourceURI
Expand Down

0 comments on commit 38e679a

Please sign in to comment.