Skip to content
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

Утечка памяти в b-dynamic-page из-за асинхронного рендера #1274

Closed
shining-mind opened this issue May 21, 2024 · 1 comment
Labels

Comments

@shining-mind
Copy link
Contributor

shining-mind commented May 21, 2024

Для каждого асинхронного чанка создается инстанс Vue. При смене страницы уничтожается только компонент страницы, однако созданный инстанс Vue остается.

Пример в ветке examples/1262

image

Необходимо, чтобы инстанс Vue уничтожался, аналогично как в render функции:

parent.unsafe.async.worker(() => {
vue.unmount();
Array.concat([], vnode).forEach(destroy);
disposeLazy(vue);
}, {group});

@kobezzza
Copy link
Contributor

#1286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants