mirror of
https://github.com/nestriness/nestri.git
synced 2026-11-27 17:46:13 +02:00
Dropping a session aborts its tasks, but a control reader mid-poll on another thread could still pause after the release and leave the encoder paused forever. The closed flag is set under the book's lock; pause checks it under the same lock.