Merge branch 'evo' into feature-per-pool-algo

This commit is contained in:
XMRig
2019-06-26 15:44:52 +07:00
19 changed files with 283 additions and 35 deletions

View File

@@ -69,6 +69,10 @@ MemInfo Mem::create(cryptonight_ctx **ctx, const xmrig::Algorithm &algorithm, si
void Mem::release(cryptonight_ctx **ctx, size_t count, MemInfo &info)
{
if (info.memory == nullptr) {
return;
}
release(info);
for (size_t i = 0; i < count; ++i) {