gyszalai commented on issue #236:
URL: https://github.com/apache/couchdb-nano/issues/236#issuecomment-762088465
@glynnbird @byronmurg Just checked the example code with
`why-is-node-running` and found that the followin things prevent the VM from
exiting:
```
# ZLIB
/Users/gyszalai/work/github/nano9_bug/node_modules/axios/lib/adapters/http.js:213
- stream = stream.pipe(zlib.createUnzip());
# TTYWRAP
/Users/gyszalai/work/github/nano9_bug/node_modules/axios/lib/adapters/http.js:213
- stream = stream.pipe(zlib.createUnzip());
# TCPWRAP
/Users/gyszalai/work/github/nano9_bug/node_modules/axios/lib/adapters/http.js:195
- var req = transport.request(options, function handleResponse(res) {
/Users/gyszalai/work/github/nano9_bug/node_modules/axios/lib/adapters/http.js:46
- return new Promise(function dispatchHttpRequest(resolvePromise,
rejectPromise) {
/Users/gyszalai/work/github/nano9_bug/node_modules/axios/lib/core/dispatchRequest.js:52
- return adapter(config).then(function onAdapterResolution(response) {
```
Hope that helps.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]