dash-core-components 2.9.1 → 2.9.2

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.
@@ -134,6 +134,12 @@ var Location = /*#__PURE__*/function (_Component) {
134
134
  window.addEventListener('_dashprivate_pushstate', this.onLocationChange);
135
135
  this.updateLocation(this.props);
136
136
  }
137
+ }, {
138
+ key: "componentWillUnmount",
139
+ value: function componentWillUnmount() {
140
+ window.onpopstate = function () {};
141
+ window.removeEventListener('_dashprivate_pushstate', this.onLocationChange);
142
+ }
137
143
  }, {
138
144
  key: "UNSAFE_componentWillReceiveProps",
139
145
  value: function UNSAFE_componentWillReceiveProps(nextProps) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-core-components",
3
- "version": "2.9.1",
3
+ "version": "2.9.2",
4
4
  "description": "Core component suite for Dash",
5
5
  "repository": {
6
6
  "type": "git",