Fix leaked plugin gateway-event listeners on reload
Cluster 112366. Data as of
Nothing open on GitHub. Fix merged in #113199 on 17 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #113199. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #113199. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug caused desktop runtime plugins to accumulate duplicate gateway-event listener sessions on every hot reload instead of cleaning them up. These members address disposing plugin event listeners properly when a plugin is reloaded or unloaded.
Open issues0
Open PRs0
Fixes on record
-
#113199 fix(desktop): reloading a plugin no longer leaks gateway-event listeners; one relay marker opens one session (#112366, salvage #112372)
files:
apps/desktop/src/contrib/events.ts,apps/desktop/src/contrib/plugin.test.ts,apps/desktop/src/contrib/plugin.ts,apps/desktop/src/contrib/plugins.ts,apps/desktop/src/contrib/runtime-loader.test.ts,apps/desktop/src/contrib/runtime-loader.ts,apps/desktop/src/sdk/index.ts,website/docs/developer-guide/desktop-plugin-sdk.md
2 PRs closed without merging
From the close comments: superseded by another PR 2
Closed issues · 1
- Closed#112366[Bug]: Desktop runtime plugins leak gateway-event listeners on every hot reload — one relay marker opens N duplicate sessions
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #113199
- Closed issues
- 1
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 17 Sep 2026