Ignore send errors in installer (#6667)

## Summary

Similar to https://github.com/astral-sh/uv/pull/6182.
This commit is contained in:
Charlie Marsh 2024-08-27 08:59:17 -04:00 committed by GitHub
parent 5ef0375204
commit 51723a2699
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,7 +94,9 @@ impl<'a> Installer<'a> {
reporter,
relocatable,
);
tx.send(result).unwrap();
// This may fail if the main task was cancelled.
let _ = tx.send(result);
});
rx.await