projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
532d992
)
process: invoke EventEmitter on `process`
author
Nathan Rajlich
<nathan@tootallnate.net>
Tue, 5 Mar 2013 20:17:48 +0000
(12:17 -0800)
committer
Nathan Rajlich
<nathan@tootallnate.net>
Wed, 6 Mar 2013 05:15:45 +0000
(21:15 -0800)
This properly sets the `_maxListeners` property, which
fixes the max listener warning. Closes #4924.
src/node.js
patch
|
blob
|
history
diff --git
a/src/node.js
b/src/node.js
index
1abd0b6
..
9c80ab5
100644
(file)
--- a/
src/node.js
+++ b/
src/node.js
@@
-35,6
+35,7
@@
value: process.constructor
}
});
+ EventEmitter.call(process);
process.EventEmitter = EventEmitter; // process.EventEmitter is deprecated