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

remove duplicate data store #3

Merged

Conversation

DaidoujiChen
Copy link
Contributor

Hello @diwu,

在 trace 紅框出現的邏輯時, 發現在 dwu_recursionHelper2 這個 function 裡面, 有部分可以小幅修改一下,

第一個是, 我們應該可以只用一個 container 就好. 所以我把 cgImageRefSet 整個拆掉了.
第二個是, 純取 address 的話, 可以用 %p 取代 %@.

另外一個部分, 當 layer.delegate 被放到 cgImageRefDict 時, 會導致該目標無法被釋放, 但是要改起來的話, 會動到比較多地方, 我暫時就先不動他.

@diwu
Copy link
Owner

diwu commented Jun 22, 2015

Good catch. Thanks!

As for "會導致該目標無法被釋放", let's keep it this way for now.

@diwu diwu closed this Jun 22, 2015
@diwu diwu reopened this Jun 22, 2015
diwu added a commit that referenced this pull request Jun 22, 2015
…recursionHelper2

remove duplicate data store
@diwu diwu merged commit 3e93d14 into diwu:master Jun 22, 2015
@DaidoujiChen DaidoujiChen deleted the feature/enhance_function_dwu_recursionHelper2 branch June 23, 2015 01:53
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.

None yet

2 participants