evanw / evanw/node-source-map-support

Leaking event hooks which prevents process from exiting

Aperta
#309 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2.2k
Fork
223
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

```ts
import why from 'why-is-node-running'
import sourceMapSupport from 'source-map-support'
sourceMapSupport.install()
why()
```

which produces this error:
```
# SIGNALWRAP
node:internal/async_hooks:201
node:internal/process/signal:26
/var/app/recovery-unified-api/node_modules/source-map-support/source-map-support.js:516 - return origEmit.apply(this, arguments);
file:///var/app/recovery-unified-api/dest/index.js:19
node:internal/process/task_queues:96
```

it would be nice if there was simply a function to uninstall:
```ts
sourceMapSupport.uninstall()
```

Or just something that would stop the signal.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.