diff --git a/core/subscription.c b/core/subscription.c index 4ed5068f..5c95113b 100644 --- a/core/subscription.c +++ b/core/subscription.c @@ -93,6 +93,10 @@ static struct uwsgi_subscribe_node *uwsgi_subscription_algo_lrc(struct uwsgi_sub node = node->next; } + if (choosen_node) { + choosen_node->reference++; + } + return choosen_node; }