// if no iconData, push to notLoadedIcons
notLoadedIcons.push({name: this.iconName, component: this})
Hi!
Today I spend quite a few hours finding memory leak in our application. As it turned out we had an icon in one of our pages which wasn't registered (our bad), but this caused notLoadedIcons list to grow on each request (SSR), keeping references to icon components forever in the server process.
Not sure I completely understand the idea behind notLoadedIcons list, but maybe it should be revised to at least warn if icon was not registered or maybe this list doesn't make sense on server side at all.
Hi!
Today I spend quite a few hours finding memory leak in our application. As it turned out we had an icon in one of our pages which wasn't registered (our bad), but this caused notLoadedIcons list to grow on each request (SSR), keeping references to icon components forever in the server process.
Not sure I completely understand the idea behind notLoadedIcons list, but maybe it should be revised to at least warn if icon was not registered or maybe this list doesn't make sense on server side at all.