Dashboard › opencode › Lore gateway ownership cleanup
01a08428-47f2-7225-a56f-28fea5b1d427| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 1 | 15h ago |
Trap: starting an in-process Lore gateway and discarding its handle looks acceptable because the process historically lived for the plugin’s lifetime. Fix: V2 reloads and unloads plugin scopes, so use an externally managed gateway or shared reference-counted ownership; setup cleanup must release the gateway and call owner-only shutdown() only after the last user leaves.