Remove unnecessary REQUIRE in dns_resolver_attach
There is no harm in aquiring an additional reference to the resolver after it has started shutting down. All the REQUIRE was doing was introducing a point of failure when shutting down the server.
This commit is contained in:
@@ -10616,7 +10616,6 @@ dns_resolver_attach(dns_resolver_t *source, dns_resolver_t **targetp) {
|
||||
|
||||
RRTRACE(source, "attach");
|
||||
|
||||
REQUIRE(!atomic_load_acquire(&source->exiting));
|
||||
isc_refcount_increment(&source->references);
|
||||
|
||||
*targetp = source;
|
||||
|
||||
Reference in New Issue
Block a user