mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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.
This commit is contained in:
1 parent
3a87b31bfa
commit
556b890ad9
1 file changed
+1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user