mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
events: ensure usingDomain is always boolean
Small addition to ensure that exports.usingDomains is always a bool.
This commit is contained in:
1 parent
75305f3bab
commit
8ca43a7f40
1 file changed
+2
@@ -22,6 +22,8 @@
|
||||
var isArray = Array.isArray;
|
||||
var domain;
|
||||
|
||||
exports.usingDomains = false;
|
||||
|
||||
function EventEmitter() {
|
||||
this.domain = null;
|
||||
if (exports.usingDomains) {
|
||||
|
||||
Reference in new issue
Block a user