mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04: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:
@@ -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