@frontile/overlays 0.12.2 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -196,7 +196,7 @@ export default class Overlay extends Component<OverlayArgs> {
196
196
  const { didClose } = this.args;
197
197
  later(() => {
198
198
  if (!this.isDestroyed) this.keepOpen = false;
199
- if (typeof didClose === 'function') {
199
+ if (typeof didClose === 'function' && !this.isDestroyed) {
200
200
  didClose();
201
201
  }
202
202
  }, duration);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontile/overlays",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "Component Library for Ember Octane apps: overlays",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -84,5 +84,5 @@
84
84
  "ember-addon": {
85
85
  "configPath": "tests/dummy/config"
86
86
  },
87
- "gitHead": "59786c42b500c610510e26c19557e461875aa50a"
87
+ "gitHead": "9dcd1b4563c2f55b172b41e96d260363a06bf0a9"
88
88
  }