Closed Perlover closed 4 years ago
This issue as been imported as question since it does not respect koa-template issue template. Only bug reports and feature requests stays open to reduce maintainers workload. If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically. Your question is available at https://cmty.app/nuxt/koa-template/issues/c48.
Due to graph GC a circular references not problem for node
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management#Mark-and-sweep_algorithm
So my patch is not patch
Hello!
I generated koa template for nuxt and i see there:
But i think there is circular reference and this is a potential memory leak
I would did by this way: