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

Fix a crash when removing persistent widgets (updated) #10099

Merged
merged 3 commits into from
Feb 7, 2023

Commits on Feb 2, 2023

  1. Fix a crash when removing persistent widgets

    When a persistent widget is removed, multiple calls to updateShowWidgetInPip happen in succession as each of the widget stores emit updates. But by depending on this.state.persistentWidgetId at the time of the call rather than passing an update function to setState, this had the effect that the removal of the widget could be reverted in the component's state, and so it could end up passing the ID of a removed widget to WidgetPip.
    robintown committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    9354f61 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. Configuration menu
    Copy the full SHA
    12c70c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c3dbf1 View commit details
    Browse the repository at this point in the history