frontend: Fix MAVLink2Rest orphan WebSocket reconnects - #4030
frontend: Fix MAVLink2Rest orphan WebSocket reconnects#4030joaoantoniocardoso wants to merge 1 commit into
Conversation
Disable reconnect on intentional close and close the previous send socket in setBaseUrl so probe/url changes cannot leave zombie sockets.
Automated PR Review0. Summary
Adds an 6. Code Quality & Style
7. Tests
8. Documentation
Generated by PR Review Bot. This is advisory, a human reviewer must still approve. |
|
Acknowledging the latest review nits (URL storage asymmetry / style / tests / commit split). Leaving as follow-ups — behavior fix is complete as-is. |
|
Superseded by #4044 (same changes, head moved to fork |
|
Closed in favor of #4044. |
Summary
oncloseso dying sockets cannot resurrect.setBaseUrlcloses the previous send socket before opening a new one (probe can call setBaseUrl more than once).Test plan