[馃悶] Tasks that track the url run again after cleaning up and the component has already been destroyed #4432
Labels
P4: urgent
If Bug - it makes Qwik unstable and affects the majority of users
STATUS-1: needs triage
New issue which needs to be triaged
TYPE: bug
Something isn't working
Which component is affected?
Qwik Runtime
Describe the bug
When navigating away from the URL, the task
cleanup
is called, but then the task is run again even though the component is destroyed.This causes a few unexpected issues to occur.
See the below example, you will notice in the console the logs will show:
When it should show:
Reproduction
https://github.com/DustinJSilk/qwik-issue-nav-signals
Steps to reproduce
Run the app
Click on the link
See the issue in the console
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: