chengxulvtu / cxlt-vue2-toastr

toast notification component for vue2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Toast instances are not destroyed.

NJM8 opened this issue · comments

Hello, thank you for the great package, really easy to setup and use.

I have noticed that toast instances do not get destroyed and I end up with many instances in my application. Is there a way to destroy them so that they do not cause a memory leak over time?

I am using Firefox dev edition on Windows 10 and Vue 2.6.8.

image

I uses v-if directive , so there will be no such thing as what you said.