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

Commit

Permalink
forceDestroy when resetting a widget
Browse files Browse the repository at this point in the history
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
  • Loading branch information
SimonBrandner committed Mar 12, 2022
1 parent 14807de commit be3e99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/elements/AppTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export default class AppTile extends React.Component<IProps, IState> {
}

private resetWidget(newProps: IProps): void {
this.sgWidget?.stopMessaging();
this.sgWidget?.stopMessaging({ forceDestroy: true });
this.stopSgListeners();

try {
Expand Down

0 comments on commit be3e99c

Please sign in to comment.