Skip to content

fix(auth): clear initial setTimeout in stopAutoRefresh - #1993

Merged
mandarini merged 1 commit into
supabase:masterfrom
7ttp:fix/deno-timer-leak
Jan 5, 2026
Merged

mandarini merged 1 commit into
supabase:masterfrom
7ttp:fix/deno-timer-leak

Conversation

@7ttp

@7ttp 7ttp commented Dec 26, 2025

Copy link
Copy Markdown
Member

the setTimeout in startAutoRefresh was not being tracked or cleared, causing timer leaks in deno tests even after calling stopAutoRefresh.

closes #1992
closes #1683

@7ttp
7ttp requested review from a team as code owners December 26, 2025 20:44
@7ttp 7ttp changed the title fix(auth): clear initial setTimeout in stopAutoRefresh fix(auth-js): clear initial setTimeout in stopAutoRefresh Dec 28, 2025
@mandarini mandarini changed the title fix(auth-js): clear initial setTimeout in stopAutoRefresh fix(auth): clear initial setTimeout in stopAutoRefresh Jan 5, 2026
@mandarini
mandarini merged commit 7e49a70 into supabase:master Jan 5, 2026
@7ttp
7ttp deleted the fix/deno-timer-leak branch January 5, 2026 15:59
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.

bug deno-timer supabaseClient using setInterval and fails in Deno test

2 participants