resolved: when destroying a scope, only abort live transactions
This commit is contained in:
parent
f7014757fd
commit
f4e380379a
|
@ -81,6 +81,7 @@ static void dns_scope_abort_transactions(DnsScope *s) {
|
|||
* freed while we still look at it */
|
||||
|
||||
t->block_gc++;
|
||||
if (DNS_TRANSACTION_IS_LIVE(t->state))
|
||||
dns_transaction_complete(t, DNS_TRANSACTION_ABORTED);
|
||||
t->block_gc--;
|
||||
|
||||
|
|
Loading…
Reference in a new issue