Skip to content

fix(#564): use stable function reference for storage event listener#603

Open
Xenon010101 wants to merge 1 commit into
indresh404:mainfrom
Xenon010101:fix/564-authcontext-listener-cleanup
Open

fix(#564): use stable function reference for storage event listener#603
Xenon010101 wants to merge 1 commit into
indresh404:mainfrom
Xenon010101:fix/564-authcontext-listener-cleanup

Conversation

@Xenon010101

Copy link
Copy Markdown

Fixes #564

Replaces anonymous arrow function wrappers with a direct reference to \handleStorageChange, ensuring
emoveEventListener\ actually removes the registered listener and prevents memory leaks.

@Xenon010101 Xenon010101 requested a review from indresh404 as a code owner June 18, 2026 14:41
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ranker-hub Ready Ready Preview, Comment Jun 18, 2026 2:41pm

@github-actions github-actions Bot added bug Something isn't working gssoc GirlScript Summer of Code gssoc26 GirlScript Summer of Code 2026 nsoc NSoC NSoC'26 NSoC 2026 pending-review PR is pending review labels Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working gssoc GirlScript Summer of Code gssoc26 GirlScript Summer of Code 2026 nsoc NSoC NSoC'26 NSoC 2026 pending-review PR is pending review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: AuthContext storage event listener is never removed due to anonymous function identity mismatch

1 participant