magic-wormhole.rs icon indicating copy to clipboard operation
magic-wormhole.rs copied to clipboard

Cancellation doesn't work in all cases

Open felinira opened this issue 2 years ago • 0 comments

If you call cancel and the peer connection is already broken the future will never return.

Reproduction steps:

  • sending file from wormhole-rs
  • receiving from wormhole-python
  • aborting the wormhole-python transfer
  • wormhole-rs will stall
  • ctrl+c will not abort, only when hitting it twice

felinira avatar Jul 24 '22 15:07 felinira