Retry close operation depending of the returned error #51
Labels
crate:uplink
Specific issues / PRs for uplink crate
status:under-discussion
Issues / PRs on hold for a future decision
Some
Drop
trait implementations call the bindings for closing resources.The bindings may return an error, however, we cannot handle it because it's when the instance of the type is removed from memory, so we have to leak the resource.
One thing that we may implement is retrying the
close
operation a few times depending on the returned error for avoiding leaking the resource.I'd like to collect thoughts about if we should retry or not, and if we should retry, under which errors.
Note you can find the source places affected by this issue by searching in the sources
TODO(https://github.com/storj-thirdparty/uplink-rust/issues/51)
.The text was updated successfully, but these errors were encountered: