diff --git a/src/generator.c b/src/generator.c index b0157821..b9d02370 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1673,6 +1673,7 @@ static int proxy_mode(ckpool_t *ckp, proc_instance_t *pi) proxi->ckp = ckp; proxi->cs = &si->cs; mutex_init(&proxi->notify_lock); + mutex_init(&proxi->share_lock); } if (ckp->btcds) {