mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 07:09:57 -04:00
A mirror is made on the replay thread after a look at the pool index; a pool finalized on another thread in between had no mirror to forget, and the new mirror then joined the list for a record already retired: freed twice, or never. The index is searched again under the exclusive lock where the mirror joins the list, and a pool that is gone has its new buffer deferred past the submission being recorded instead. The count of mirrors waiting for their table hand-over is raised under the same lock that the finalize and the prologue take it down under. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
321 KiB
321 KiB