Browse Source

Only dec worker if user is set

master
Con Kolivas 10 years ago
parent
commit
8502036c5d
  1. 1
      src/stratifier.c

1
src/stratifier.c

@ -1686,6 +1686,7 @@ static void _dec_instance_ref(sdata_t *sdata, stratum_instance_t *client, const
LOGERR("Instance ref count dropped below zero from %s %s:%d", file, func, line);
if (dropped) {
if (user)
dec_worker(sdata->ckp, user);
reap_proxies(sdata->ckp, sdata);
}

Loading…
Cancel
Save