diff --git a/src/node.h b/src/node.h index 5d6aa8dadfc8c4..2ac145f4f75bd9 100644 --- a/src/node.h +++ b/src/node.h @@ -714,6 +714,7 @@ class AsyncResource { virtual ~AsyncResource() { EmitAsyncDestroy(isolate_, async_context_); + resource_.Reset(); } v8::MaybeLocal MakeCallback(