diff --git a/src/base/tools/Handle.h b/src/base/tools/Handle.h index a25381d8c..fcd341478 100644 --- a/src/base/tools/Handle.h +++ b/src/base/tools/Handle.h @@ -45,7 +45,7 @@ public: return; } - uv_close(reinterpret_cast(handle), [](uv_handle_t *handle) { delete handle; }); + uv_close(reinterpret_cast(handle), [](uv_handle_t *handle) { delete reinterpret_cast(handle); }); } };