diff --git a/src/mining.cpp b/src/mining.cpp index 825952d..98a4f99 100644 --- a/src/mining.cpp +++ b/src/mining.cpp @@ -141,6 +141,8 @@ void runStratumWorker(void *name) { if(!isMinerSuscribed){ + //Stop miner current jobs + mMiner.inRun = false; mWorker = init_mining_subscribe(); // STEP 1: Pool server connection (SUBSCRIBE)