Browse Source

domain: speed up domain.create

Use `EventEmitter.call` instead of `EventEmitter.apply` because of performance.
v0.9.5-release
Ryunosuke SATO 12 years ago
committed by isaacs
parent
commit
697484df82
  1. 2
      lib/domain.js

2
lib/domain.js

@ -70,7 +70,7 @@ function uncaughtHandler(er) {
inherits(Domain, EventEmitter);
function Domain() {
EventEmitter.apply(this);
EventEmitter.call(this);
this.members = [];
}

Loading…
Cancel
Save