Files
music_library/lib/music_library_web
Claudio Ortolina 5f240fe573 Fix stale PubSub subscriptions on record navigation
Subscription management was only done in mount/3, meaning
navigating to a different record via handle_params/3 left the
old subscription active. A background update for the old record
would then overwrite the currently displayed record.

Fix: manage subscriptions in handle_params/3 (unsubscribe old,
subscribe new) via shared RecordActions.manage_subscription/2,
and guard handle_info({:update,...}) against mismatched IDs.
2026-05-07 10:14:10 +01:00
..
2026-05-05 23:22:37 +01:00
2026-03-13 10:52:01 +00:00
2026-03-13 10:52:01 +00:00
2024-09-12 14:13:06 +01:00
2026-05-05 13:43:18 +01:00
2026-03-28 10:59:50 +00:00