rspace-online/modules/rtime
Jeff Emmett 53c757e68e fix: comprehensive memory leak and performance fixes across 44 files
Browser-side:
- Fix switchSpace() to LRU-evict idle space WebSocket connections (cap: 3)
- Add runtime.unsubscribe() to disconnectedCallback in 24 components
- Fix DocSyncManager.unsubscribe() to clean up syncStates, timers, listeners
- Fix 14 components leaking RAF loops, ResizeObservers, MutationObservers,
  document/window listeners, setIntervals, MapLibre WebGL contexts, and
  AbortControllers on disconnect
- Deduplicate Automerge WASM: module builds now use global shim from
  shell-offline instead of bundling ~2.5MB each (8 modules affected)

Server-side:
- Add LRU eviction to SyncServer.#docs (cap: 500, evicts idle docs with
  no subscribers, persists to disk before eviction)
- registerWatcher() now returns unsubscribe function

Data:
- Cap unbounded CRDT arrays: rexchange chatMessages (200), rcart events (200)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 22:26:24 -04:00
..
components fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
intent-routes.ts feat(rtime): port 14 missing hcc-mem-staging features to rTime module 2026-04-02 15:08:43 -07:00
landing.ts feat(tours): add guided tour links to 7 landing pages and startTour() to 5 components 2026-03-31 09:33:11 -07:00
mod.ts feat(comments): spatial comment pins on all rApp module pages 2026-04-10 11:15:05 -04:00
reputation.ts feat(rtime): add intent-routed resource-backed commitments 2026-03-31 22:36:06 -07:00
schemas-intent.ts feat(rtime): add intent-routed resource-backed commitments 2026-03-31 22:36:06 -07:00
schemas.ts feat(rtime): add external time logs API and fulfillment dashboard 2026-04-03 17:38:08 -07:00
settlement.ts feat(rtime): add intent-routed resource-backed commitments 2026-03-31 22:36:06 -07:00
skill-curve.ts feat(rtime): add intent-routed resource-backed commitments 2026-03-31 22:36:06 -07:00
solver.ts feat(rtime): add intent-routed resource-backed commitments 2026-03-31 22:36:06 -07:00