Revert "src: call uv_loop_delete() on exit in debug mode"
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 30 Aug 2013 21:28:22 +0000 (23:28 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Fri, 30 Aug 2013 21:28:22 +0000 (23:28 +0200)
Don't call uv_loop_delete() until we've figured out a way to gracefully
close open handles.  See also commit 4915884 and its subsequent revert
in commit 980cbd5.

This reverts commit 556b890ad91780c52c77dccaddcf69beb8184e27.

src/node.cc

index b8270f7..18f23a5 100644 (file)
@@ -3179,7 +3179,6 @@ int Start(int argc, char *argv[]) {
 #ifndef NDEBUG
   // Clean up. Not strictly necessary.
   V8::Dispose();
-  uv_loop_delete(uv_default_loop());
 #endif  // NDEBUG
 
   // Clean up the copy: