Remove auto-unref
authorisaacs <i@izs.me>
Mon, 11 Jun 2012 16:07:42 +0000 (09:07 -0700)
committerisaacs <i@izs.me>
Mon, 11 Jun 2012 16:07:42 +0000 (09:07 -0700)
cc: @AvianFlu @AndreasMadsen

lib/child_process.js

index 4aaebd1..4a1f9fe 100644 (file)
@@ -609,10 +609,6 @@ var spawn = exports.spawn = function(file, args, options) {
     gid: options ? options.gid : null
   });
 
-  if (options && options.detached) {
-    child.unref();
-  }
-
   return child;
 };