1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-04-19 21:52:40 -04:00

Updated version

This commit is contained in:
MoneroOcean
2019-07-30 08:33:39 -07:00
5 changed files with 49 additions and 52 deletions

View File

@@ -59,6 +59,10 @@ public:
inline MinerPrivate(Controller *controller) : controller(controller)
{
uv_rwlock_init(&rwlock);
# ifdef XMRIG_ALGO_RANDOMX
Rx::init();
# endif
}
@@ -71,6 +75,10 @@ public:
for (IBackend *backend : backends) {
delete backend;
}
# ifdef XMRIG_ALGO_RANDOMX
Rx::destroy();
# endif
}