Files
containerd/core
Justin Chadwell 91a50f70b7 copy: check if writer was closed before setting a pipe
If Close is called externally before a request is attempted, then we
will accidentally attempt to send to a closed channel, causing a panic.

To avoid this, we can check to see if Close has been called, using a
done channel. If this channel is ever done, we drop any incoming errors,
requests or pipes - we don't need them, since we're done.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-02-03 10:18:05 +01:00
..
2024-01-25 22:18:45 -08:00
2024-01-25 22:18:45 -08:00
2024-01-25 22:18:45 -08:00
2024-01-25 22:18:45 -08:00
2024-01-25 22:18:45 -08:00
2024-01-25 22:18:45 -08:00
2024-02-02 10:35:23 -08:00
2024-01-25 22:18:45 -08:00
2024-01-25 22:18:45 -08:00