Releases: teufelaudio/CombineLongPolling
Releases · teufelaudio/CombineLongPolling
Ensure that calling cancel() deallocates the subscription
What's Changed
- Ensure that calling cancel() deallocates the subscription by @marcusficner in #11
0.1.7 Avoid last request after cancellation
The while
infinite loop performs a last request after the cancellation, because the process will be waiting already inside the while block, paused in the semaphore.
When cancellation comes, this last request was (wrongly) executed, an undesired side-effect. With this small fix, right after semaphore signalling, we check again for possible cancellation/completion before starting the request.
Fix retain cycle
Fixes a memory leak that can be caused by a network error.
Mock to conform with the protocol it's mocking
v0.1.5 Make mock conform to the protocol it's mocking (#8)
Long Polling no longer depends on NetworkExtensions
v0.1.4 Remove RESTClient dependency (#7)
Long Polling Session to require timeout vars on its contract
v0.1.3 Enforce long polling session to have timeout vars too (#6)
Invert dependency with NetworkExtensions
Now this library depends on NetworkExtensions, not the other way round
Bugfixes and improvements
Fixes a crash in DispatchSemaphore
initial release
Initial release.