launchdarkly / swift-eventsource

Server-sent events (SSE) client implementation in Swift for iOS, macOS, tvOS, and watchOS
https://launchdarkly.github.io/swift-eventsource/
Other
187 stars 34 forks source link

Fix for leaking session and delegate #36

Closed gwhelanLD closed 2 years ago

gwhelanLD commented 2 years ago

Same as public contribution https://github.com/launchdarkly/swift-eventsource/pull/23/files but more minimal changes, based on current HEAD, and minor stylistic differences.

shortcut-integration[bot] commented 2 years ago

This pull request has been linked to Shortcut Story #104803: Swift EventSource - Calling .stop() does not end the request.