mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
Remove the extra decstats on STATID_ACTIVE for children sockets
This commit is contained in:
@@ -718,11 +718,6 @@ nmsocket_cleanup(isc_nmsocket_t *sock, bool dofree) {
|
||||
for (int i = 0; i < sock->nchildren; i++) {
|
||||
if (!atomic_load(&sock->children[i].destroying)) {
|
||||
nmsocket_cleanup(&sock->children[i], false);
|
||||
if (sock->statsindex != NULL) {
|
||||
isc__nm_decstats(
|
||||
sock->mgr,
|
||||
sock->statsindex[STATID_ACTIVE]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user