-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svelte 5 @next.148 broke Layercake #11934
Labels
awaiting submitter
needs a reproduction, or clarification
Milestone
Comments
A simple solution is to just ensure listeners2 is not undefined before calling delete on it. Though this may result in a memory leak, I'm not familiar enough with the underlying code. |
Here is a repl https://replit.com/@yodaissmart/Svelte-500next148-error?v=1 |
Any updates on this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After upgrading from 5.0.0-next.147 to 5.0.0-next.148 I get the following error in browser when navigating away from a sveltekit page that has a layercake component on it.
This issue persists in next.150 as well.
Reproduction
I am going to see if I can fully reproduce this outside of my project (its unfortunately rather large and complex so this may take some time) but the minimum dependencies are the following.Then you just have two page routes, one with a layercake component, navigate to it, and away from it.https://replit.com/@yodaissmart/Svelte-500next148-error?v=1
Click the chart link in the nav bar, then click home.
Logs
The specific location of that error is the line
listeners2.delete(listener);
in the following chunk.System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: