Open daniluk4000 opened 1 month ago
Simple module installation in Nuxt causes memory leak with asyncContext enabled
https://github.com/daniluk4000/recaptcha-memory-leak (latest node 18 or higher)
chrome://inspect
siege -c 1 http://localhost:3000
@DanSnow
This code in plugin causes memory leak on SSR. Simple typeof window check fixes this error.
Also maybe module should not initialize all those wait things on SSR at all.
Description
Simple module installation in Nuxt causes memory leak with asyncContext enabled
Minimal Reproducible Example
https://github.com/daniluk4000/recaptcha-memory-leak (latest node 18 or higher)
chrome://inspect
, open profiler for node appsiege -c 1 http://localhost:3000
System info