Memory leak in WebSocket connection handler

Bounty Amount

$1,500,000,000USDC

Claimed by

carlos-backend

carlos-backend

Active Submissions (2)

Multiple contributors working on this bounty

C

carlos-backend

PR #148
pending
J

john-contributor

PR #145
pending
bugpriority

Issue Description

The WebSocket handler doesn't properly clean up connections when clients disconnect unexpectedly. This causes memory usage to grow over time in production.


**Steps to reproduce:**

1. Open 100+ concurrent WebSocket connections

2. Force-close browser tabs

3. Monitor server memory


**Expected:** Memory returns to baseline

**Actual:** Memory keeps growing

Pull Request

Pull Request #148

Awaiting review

Work Submitted

Awaiting review