Catch store dispose? #2991
Catch store dispose?
#2991
-
Everything is in the title. I couldn't find a way to catch a store destruction. I need it in order to cleanup some Workers. Last option is that I should not use those worker directly in the store. Any pattern that may be useful? |
Beta Was this translation helpful? Give feedback.
Answered by
TimVee
Jun 19, 2025
Replies: 1 comment
-
You can use Vue's onScopeDispose in a setup store. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use Vue's onScopeDispose in a setup store.