1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-09 00:33:33 -05:00

Fixed bug

This commit is contained in:
MoneroOcean
2020-07-16 17:17:17 -07:00
parent 338b0b10f5
commit 780e2bcd1c

View File

@@ -321,7 +321,7 @@ void xmrig::JobResults::done(const Job &job)
void xmrig::JobResults::setListener(IJobResultListener *listener, bool hwAES)
{
assert(handler == nullptr);
if (handler) delete handler;
handler = new JobResultsPrivate(listener, hwAES);
}