From dc1423052fc4fcceda6f7997e48e898ed93928ff Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Mon, 8 Jan 2018 11:32:23 +0000 Subject: [PATCH] De-register listener. --- src/components/views/elements/AppTile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/elements/AppTile.js b/src/components/views/elements/AppTile.js index a9ea8c6cf9..fa8696ea74 100644 --- a/src/components/views/elements/AppTile.js +++ b/src/components/views/elements/AppTile.js @@ -229,6 +229,7 @@ export default React.createClass({ componentWillUnmount() { this.widgetMessaging.stopListening(); this.widgetMessaging.removeEndpoint(this.props.id, this.props.url); + dis.unregister(this._onAction); window.removeEventListener('message', this._onMessage); },