Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Properly remove persistentWidget from WidgetStore
Browse files Browse the repository at this point in the history
Fixes #17226
  • Loading branch information
Dariusz Niemczyk committed Aug 19, 2021
1 parent 5553e40 commit c8e4e76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/views/elements/AppTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
Expand Down

0 comments on commit c8e4e76

Please sign in to comment.