infinitered / infinitered/rmq

@instance methods inside custom views rmq_build causes memory leak

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
305
Forks
51
PR merge metrics
No merged PRs in 30d

Description

Finally started tracking down some of these things:

```
def rmq_build
@foo = rmq.append(UILabel, :tag)
end
```

will cause a leak where:

```
def rmq_build
@foo = rmq.append(UILabel, :tag).get
end
```

will not.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue. Start by tracing custom-view rmq_build handling, then follow rmq.append and the .get path while reproducing both examples with UILabel; done means the instance assignment without .get no longer leaks.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.