From c8e4e761008ae36d4aa21a6f0343e86efebf85ec Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Thu, 19 Aug 2021 06:42:38 +0200 Subject: [PATCH] Properly remove persistentWidget from WidgetStore Fixes #17226 --- 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 1950454f56..74535f8fe3 100644 --- a/src/components/views/elements/AppTile.js +++ b/src/components/views/elements/AppTile.js @@ -218,6 +218,7 @@ export default class AppTile extends React.Component { // Delete the widget from the persisted store for good measure. PersistedElement.destroyElement(this._persistKey); + ActiveWidgetStore.destroyPersistentWidget(this.props.app.id); if (this._sgWidget) this._sgWidget.stop({ forceDestroy: true }); }