From: Ben Noordhuis Date: Tue, 27 Aug 2013 12:47:46 +0000 (+0200) Subject: src: call uv_loop_delete() on exit in debug mode X-Git-Tag: v0.11.7~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=556b890ad91780c52c77dccaddcf69beb8184e27;p=platform%2Fupstream%2Fnodejs.git src: call uv_loop_delete() on exit in debug mode Should make tracing with valgrind a little easier on the eye and possibly help expose libuv handle lifecycle issues. --- diff --git a/src/node.cc b/src/node.cc index d148116..1a410cf 100644 --- a/src/node.cc +++ b/src/node.cc @@ -3181,6 +3181,7 @@ 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: