trezor / trezor-suite

Trezor Suite Monorepo
https://trezor.io/trezor-suite
Other
724 stars 251 forks source link

(node:82730) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 data lis... #9484

Open sentry-io[bot] opened 1 year ago

sentry-io[bot] commented 1 year ago

Sentry Issue: TREZOR-SUITE-P9A

(node:82730) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 data listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
AdamSchinzel commented 1 year ago

Possible solution would be to switch to eventemitter3, which is a drop-in replacement for node's events module, except faster, and browser-compatible, and doesn't set a max-listeners limit for you.

Maybe just a small problem that it's doesn't TypeScript support.

szymonlesisz commented 1 year ago

related to https://github.com/trezor/trezor-suite/issues/9236