mirror of
https://github.com/penpot/penpot.git
synced 2026-11-14 22:24:56 +00:00
The MCP server closes duplicate plugin connections with 1008 (policy violation). The plugin treated every close as retryable: shouldReconnect stayed true, scheduleReconnect re-armed, and each brief onopen reset the backoff - looping at ~1s until the browser froze. Treat 1008 closes as terminal and stay disconnected until the user reconnects explicitly.