You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When eventName is a Symbol AND maxListeners threshold is exceeded AND verboseMemoryLeak is true, the following error will be thrown:
TypeError: Cannot convert a Symbol value to a string
at EventEmitter.logPossibleMemoryLeak (node_modules/eventemitter2/lib/eventemitter2.js:60:35)
at EventEmitter._on (node_modules/eventemitter2/lib/eventemitter2.js:1267:31)
at EventEmitter.on (node_modules/eventemitter2/lib/eventemitter2.js:1178:17)
This is caused by the following line:
errorMsg+=' Event name: '+eventName+'.';
as a Symbol cannot be implicitly converted to a string. see here.
The text was updated successfully, but these errors were encountered:
doronguttman
added a commit
to doronguttman/EventEmitter2
that referenced
this issue
Nov 19, 2022
When
eventName
is a Symbol ANDmaxListeners
threshold is exceeded ANDverboseMemoryLeak
is true, the following error will be thrown:This is caused by the following line:
as a Symbol cannot be implicitly converted to a string. see here.
The text was updated successfully, but these errors were encountered: