Skip to content

fix bug#22

Open
levantuy wants to merge 2 commits into
circlefin:masterfrom
levantuy:master
Open

fix bug#22
levantuy wants to merge 2 commits into
circlefin:masterfrom
levantuy:master

Conversation

@levantuy

Copy link
Copy Markdown

No description provided.

levantuy added 2 commits May 12, 2026 10:20
Introduce an isCancelled flag to abort the async setup flow and guard after async calls to prevent state updates after unmount. Use a per-setup realtime channel topic (including user.id and Date.now()) to avoid stale subscription races in React Strict Mode. Set isCancelled in the cleanup and still remove the channel to ensure subscriptions are cleaned up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant