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