While the cac dtor runs and waits for TCP circuit threads to exit, new circuits could be opened by name resolution replies on existing (still active) circuits. Avoid this by setting a flag (lock being held) in the dtor, and checking it in cac::transferChanToVirtCircuit.
41 KiB
41 KiB