mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 12:47:14 +00:00
* add `ListenerRefusalError` and `ListenerLeakError` which get logged when listener thresholds are exceeded. The `stack` property of these errors will point towards the most frequent listener and how often it is used. If that's a high number there is a leak (same listener is added over and over again), if that's a low number there might be a conceptual flaw that an emitter is simply too prominent. * rightfully don't use Error.captureStackTrace (v8/nodejs only)