CombineCommunity / CombineExt

CombineExt provides a collection of operators, publishers and utilities for Combine, that are not provided by Apple themselves, but are common in other Reactive Frameworks and standards.
https://combine.community
MIT License
1.73k stars 155 forks source link

fix memory leak of receiver while using withLatestFrom operator #122

Closed bharath2020 closed 2 years ago

bharath2020 commented 2 years ago

Fixing a memory leak in withLatestFrom operator as detailed in this issue https://github.com/CombineCommunity/CombineExt/issues/121

codecov[bot] commented 2 years ago

Codecov Report

Merging #122 (4546dd0) into main (ee629db) will increase coverage by 0.10%. The diff coverage is 95.97%.

@@            Coverage Diff             @@
##             main     #122      +/-   ##
==========================================
+ Coverage   95.35%   95.45%   +0.10%     
==========================================
  Files          66       66              
  Lines        3551     3700     +149     
==========================================
+ Hits         3386     3532     +146     
- Misses        165      168       +3     
Impacted Files Coverage Δ
Tests/WithLatestFromTests.swift 98.60% <95.94%> (-1.40%) :arrow_down:
Sources/Operators/WithLatestFrom.swift 95.94% <100.00%> (+4.16%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ee629db...4546dd0. Read the comment docs.