bengreenier / bengreenier/overlayed
installing plugins - async state race condition
Open
bug
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
This can occur when we are installing plugins but we receive a user request to shutdown - if we unmount the plugingrid before the install finishes, we'll end up trying to call setState on a component (plugingrid) that isn't mounted
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing plugin installation and shutdown handling around the PluginGrid component, focusing on what happens when the component is unmounted before installation finishes. Reproduce the shutdown-during-install sequence and verify that no state update is attempted after PluginGrid is unmounted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, react, typescript
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100