Skip to content

Commit c31fd38

Browse files
committed
a fix? at last?
1 parent aef93f5 commit c31fd38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node_perf.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ void MarkGarbageCollectionEnd(Isolate* isolate,
216216
fprintf(stderr, "shooting into the dark here.\n");
217217
if (uv_async_init(env->event_loop(), async, PerformanceGCCallback))
218218
return delete async;
219+
uv_unref(reinterpret_cast<uv_handle_t*>(async));
219220
async->data =
220221
new PerformanceEntry::Data(env, "gc", "gc",
221222
performance_last_gc_start_mark_,

0 commit comments

Comments
 (0)