Memory Leak When Using Async Components #8740
Steps to reproduce
What is expected?
After destroying Child component, the component and it's asynchronously loaded child component should be destroyed and the memory freed up.
What is actually happening?
Vue is holding on to a context reference which is preventing these components from being garbage collected
This is happening due to the resolve-async-component logic located here:
In the forceRender function on line 64, after calling $forceUpdate, the contexts array should be cleared to free up those references so that the components will be able to be garbage collected at a later point in time
The text was updated successfully, but these errors were encountered: