rspace-online/modules/rmaps/components
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
..
folk-map-viewer.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
map-chat-panel.ts feat(rmaps): ZIP import, chat, route requests, indoor maps 2026-03-23 18:42:02 -07:00
map-import-modal.ts feat(rmaps): UX parity with rmaps-online — route overlay, ping cooldown, session persistence 2026-03-24 18:25:46 -07:00
map-import.ts fix(rmaps): add missing map-import.ts to repo 2026-03-12 20:37:42 -07:00
map-indoor-view.ts feat(rmaps): ZIP import, chat, route requests, indoor maps 2026-03-23 18:42:02 -07:00
map-meeting-modal.ts feat(rmaps): UX parity with rmaps-online — route overlay, ping cooldown, session persistence 2026-03-24 18:25:46 -07:00
map-privacy-panel.ts feat(rmaps): mobile UX overhaul — floating FAB menu, self-marker, bottom sheet, privacy consolidation 2026-03-20 11:23:41 -07:00
map-privacy.ts feat(rmaps): mobile UX overhaul — floating FAB menu, self-marker, bottom sheet, privacy consolidation 2026-03-20 11:23:41 -07:00
map-push.ts feat(rmaps): UX parity with rmaps-online — route overlay, ping cooldown, session persistence 2026-03-24 18:25:46 -07:00
map-room-history.ts feat(rmaps): MapLibre GL map, WebSocket room sync, room history + ping friends 2026-03-09 23:44:28 -07:00
map-share-modal.ts feat(rmaps): UX parity with rmaps-online — route overlay, ping cooldown, session persistence 2026-03-24 18:25:46 -07:00
map-sync.ts feat(rmaps): ZIP import, chat, route requests, indoor maps 2026-03-23 18:42:02 -07:00
maps.css feat(rmaps): mobile UX overhaul — floating FAB menu, self-marker, bottom sheet, privacy consolidation 2026-03-20 11:23:41 -07:00