Skip to content

Commit

Permalink
src: remove defunct timer_wrap file
Browse files Browse the repository at this point in the history
Unused since the excellent refactoring in 2930bd1,
which also removed `src/timer_wrap.cc` from `node.gyp`. If you try and
get at the binding on a v11.0-pre build, you'll get an error, since the
file is no longer in the GYP build.

```
Jonathans-MBP:node jon$ ./node -v
v11.0.0-pre
Jonathans-MBP:node jon$ ./node -e "process.binding('timer_wrap')"
internal/bootstrap/loaders.js:81
        mod = bindingObj[module] = getBinding(module);
                                   ^

Error: No such module: timer_wrap
    at process.binding (internal/bootstrap/loaders.js:81:36)
    at [eval]:1:9
    at Script.runInThisContext (vm.js:89:20)
    at Object.runInThisContext (vm.js:286:38)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at evalScript (internal/bootstrap/node.js:562:27)
    at startup (internal/bootstrap/node.js:248:9)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:595:3)
```

Refs: #20894
  • Loading branch information
maclover7 committed Jul 14, 2018
1 parent cee8677 commit 8658963
Showing 1 changed file with 0 additions and 152 deletions.
152 changes: 0 additions & 152 deletions src/timer_wrap.cc

This file was deleted.

0 comments on commit 8658963

Please sign in to comment.