Vexil version: 2.2.0
Swift version:swift-driver version: 1.26.21 Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)Environment: Xcode 13.2.1 – Xcode 13.4
✅ Checklist
[x] If possible, I've reproduced the issue using the main branch of this package
Vexil version: 2.2.0 Swift version:
swift-driver version: 1.26.21 Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
Environment: Xcode 13.2.1 – Xcode 13.4✅ Checklist
main
branch of this package🔢 Description
When using Vexil with an extension that could see the Process initialised multiple times (such as Apple Pay), the following line occasionally hangs:
This hang does not occur if we remove the manual calls to
AnyCancellable.cancel()
. As noted in [AnyCancellable](https://developer.apple.com/documentation/combine/anycancellable#:~:text=An%20AnyCancellable%20instance%20automatically%20calls%20cancel()%20when%20deinitialized) thecancel()
function is called on deinit anyway, so the manual call tocancel()
is not required. We should remove it.