Retained queue lifetime¶
Every batch and individual queue retains a permanent host reference. A slot is
reusable only after all 65 reference counts return to that reference and its phase
is frozen. Retaining all 16 slots causes bounded rejection before the next native
process; automation is not silently omitted. Valid foreign leases remain usable
for reference counting and checked QueryInterface, while frozen data access
rejects. Foreign release cannot destroy host payload storage.
Joined main teardown detects retained references and pins the exact reserved
module/context/host core before facade retirement. Only detached host-only pools
are reclaimed on CONTROL. Closing a pinned facade consumes ProcessPinned;
same-core v2 reopen retains the original reservation. Later releases permit
payload reclamation but do not unpin the module. Unexpected audio-end failure
keeps the existing exceptional ownership retention policy. This bounds host
pool admission, not arbitrary foreign allocation or whole-process RSS.