8000 Release 2.58.0: Avoid using deinit to fulfil the protocol negotiation promise (#2497) · alex-taffe/swift-nio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2.58.0

  • 2.58.0
  • cf28163
  • Verified

    This commit was crea 7A19 ted on GitHub.com and signed with GitHub’s verified signature. The key has expired.
  • Compare
    Choose a tag to compare
@FranzBusch FranzBusch tagged this 08 Aug 08:17
# Motivation

Fixes https://github.com/apple/swift-nio/issues/2494

# Modification
This PR avoids using `deinit` to fulfil the protocol negotiation promise and opts to trap instead when it is being accessed before the handler is added. This allows us to use `handlerAdded` and `handlerRemoved`.

# Result
No more `deinit` usage that can be observed.
Assets 2
Loading
0