This commit is contained in:
David Baker 2018-08-17 09:42:23 +01:00
parent 7875d37c8e
commit e3643bd74c
2 changed files with 1 additions and 1 deletions

View file

@ -439,6 +439,7 @@ export default class AppTile extends React.Component {
// Force the widget to be non-persistent
ActiveWidgetStore.destroyPersistentWidget();
const PersistedElement = sdk.getComponent("elements.PersistedElement");
PersistedElement.destroyElement(this._persistKey);
}

View file

@ -17,7 +17,6 @@ limitations under the License.
import EventEmitter from 'events';
import MatrixClientPeg from '../MatrixClientPeg';
import sdk from '../index';
/**
* Stores information about the widgets active in the app right now: