diff --git a/src/node_file.h b/src/node_file.h index b76caa1467b3e2..094963c53ac586 100644 --- a/src/node_file.h +++ b/src/node_file.h @@ -152,8 +152,8 @@ class FileHandle : public AsyncWrap { } ~CloseReq() { uv_fs_req_cleanup(req()); - promise_.Empty(); - ref_.Empty(); + promise_.Reset(); + ref_.Reset(); } FileHandle* file_handle();