Merge pull request #2169 from SChernykh/dev

Fix wrong type in Handle::deleteLater()
This commit is contained in:
xmrig 2021-03-11 06:26:27 +07:00 committed by GitHub
commit 813a1885cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ public:
return; return;
} }
uv_close(reinterpret_cast<uv_handle_t *>(handle), [](uv_handle_t *handle) { delete handle; }); uv_close(reinterpret_cast<uv_handle_t *>(handle), [](uv_handle_t *handle) { delete reinterpret_cast<T>(handle); });
} }
}; };