opened
deepal
username_0
When a timer is `unref`ed, it will not keep the node process running. Therefore, `unref`ed timers should be excluded from the output. 

**Observed Behaviour**

e.g, Consider the following example.

```js
const log = require('./');

setTimeout(() => {}, 99999999).unref()
process.stdin.on('data', () => {});

setTimeout(function() {
    this.unref()
    log()
})
```

The output for the above script is:

```
There are 3 handle(s) keeping the process running

# Timeout
/Users/username_0/Projects/why-is-node-running/abc.js:3 - setTimeout(() => {}, 99999999)

# TTYWRAP
/Users/username_0/Projects/why-is-node-running/abc.js:4 - process.stdin.on('data', () => {});

# Timeout
/Users/username_0/Projects/why-is-node-running/abc.js:6 - setTimeout(function() {
```

**Expected Behaviour**

We should not see the two `Timeout`s as they are `unref`ed and are not keep the process from exiting.

_Happy to raise a PR for this._
Unref'ed timers should be excluded as they do not keep Node process running
issue
created
deepal
username_0
This is fixed in 2.1.1
comment
closed
deepal
username_0
issue