mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 10:48:15 +01:00
poll_reads now runs the device validity check when no read is pending, so device_status reports a destroyed device found by an idle poll. It polls before checking whether reads are ready, so a read whose map completes in the same poll returns its bytes. upload_buffer checks the device health again after its validity probe and returns an out-of-memory error recorded during that probe instead of a handle.