Queue a request on pool switch in case we have no work from the new pool yet.
diff --git a/cgminer.c b/cgminer.c
index 5187aa9..dd4b9a9 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2572,6 +2572,8 @@ void switch_pools(struct pool *selected)
mutex_lock(&lp_lock);
pthread_cond_broadcast(&lp_cond);
mutex_unlock(&lp_lock);
+
+ queue_request(NULL, false);
}
static void discard_work(struct work *work)