You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Click Go to input page link,collect garbage and take a snapshot with devtools
2.Enter any value in the input box,collect garbage and take a snapshot with devtools
3.Click Go to empty page link,collect garbage and take a snapshot with devtools
What is expected?
Data memory release in component data
What is actually happening?
Not released,variables test are still in memory
If the input box does nothing and leaves the page, the component data can be freed normally
The text was updated successfully, but these errors were encountered:
Version
2.6.11
Reproduction link
https://codesandbox.io/s/unruffled-night-t32t2?file=/src/router.js:253-257
code
<script src="https://cdn.jsdelivr.net/npm/vue"></script> <script src="https://unpkg.com/vue-router/dist/vue-router.js"></script> <title>input momery leak</title>Go to empty page
Steps to reproduce
1.Click Go to input page link,collect garbage and take a snapshot with devtools
2.Enter any value in the input box,collect garbage and take a snapshot with devtools
3.Click Go to empty page link,collect garbage and take a snapshot with devtools
What is expected?
Data memory release in component data
What is actually happening?
Not released,variables test are still in memory
If the input box does nothing and leaves the page, the component data can be freed normally
The text was updated successfully, but these errors were encountered: