Investigate and plug up potential memory leaks from event registration #7597
Labels
🧪 engineering
Related to some internal engineering improvements
✅ merged
A fix for this issue has been merged
Milestone
Components hosted in separate processes can register for app-wide events. For example, panels can listen for configuration changes. Some of these separate processes live alongside the app's main process. Others are temporary (for example, panels). These temporary panels don't unregister listeners. Over the course of an app session, many orphaned listeners can accumulate if many panels are opened and closed.
Additional lifecycle events should be put into place so that processes know when something is about to be terminated and needs to dispose of resources properly.
The text was updated successfully, but these errors were encountered: