]> git.proxmox.com Git - proxmox-backup.git/commit
tape/pool_writer: do not unwrap on channel send
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 10 May 2021 11:54:09 +0000 (13:54 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 11 May 2021 07:07:45 +0000 (09:07 +0200)
commit2d5d264f99b6d6086593b1763da8864ed322fd15
tree72d80b351a40f3aecd58d56e14282ba9b4dfdcff
parentc9c07445b7b27a3ca8464fb165633522c7875f3d
tape/pool_writer: do not unwrap on channel send

if the reader thread is already gone here, we panic here, resulting in
a nondescript error message, so simply ignore/warn in that case and
return gracefully

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/tape/pool_writer/new_chunks_iterator.rs