mirror of https://github.com/vector-im/riot-web
parent
5553e40f0c
commit
c8e4e76100
|
@ -218,6 +218,7 @@ export default class AppTile extends React.Component {
|
||||||
|
|
||||||
// Delete the widget from the persisted store for good measure.
|
// Delete the widget from the persisted store for good measure.
|
||||||
PersistedElement.destroyElement(this._persistKey);
|
PersistedElement.destroyElement(this._persistKey);
|
||||||
|
ActiveWidgetStore.destroyPersistentWidget(this.props.app.id);
|
||||||
|
|
||||||
if (this._sgWidget) this._sgWidget.stop({ forceDestroy: true });
|
if (this._sgWidget) this._sgWidget.stop({ forceDestroy: true });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue