Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TableViewHeader's delegate a weak reference #56

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

simonbilskyrollins
Copy link

The strong reference to TableViewHeader's delegate turned out to be the source of a memory leak in my app. Changing this reference to weak allows the parent CollapsibleTableViewController to be properly deallocated.

@codecov-io
Copy link

codecov-io commented Apr 24, 2018

Codecov Report

Merging #56 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #56   +/-   ##
======================================
  Coverage    96.5%   96.5%           
======================================
  Files           3       3           
  Lines         315     315           
======================================
  Hits          304     304           
  Misses         11      11
Impacted Files Coverage Δ
...ionViewController/CollapsibleTableViewHeader.swift 87.93% <0%> (ø) ⬆️

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 e3537a0...b8a335a. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants