31d5a881b6
remove_connection fired the "session ended" banner for every connection that closed. With multiple concurrent sessions (a second supporter, or a file-transfer session running alongside remote control) the user saw one banner per close even though support was still ongoing. Track the remaining approved-session count under the same lock and show the banner only when the last session has ended. Denied/never-approved connections still produce no banner. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>