Comments (3)
Thanks for ur response, that helps a lot
from fbretaincycledetector.
Does the
dispose_helper
dealloc the objects that block retains according to their memory address?
Yes
So we can fake an array of objects and use
dispose_helper
to dealloc our objects, and then we can find out which object of the array is not existed. So we can get indexed and retrieve all the objects which block has retained.
Yup
cc @Gricha
from fbretaincycledetector.
Hey! Sorry for late reply.
Yeah it's exactly like that - we are faking objects that would otherwise be captured by block and we try to figure out which one the block will hold strongly. The way we do it is by using dispose helper which will take care of sending release message to objects it captured strongly.
Please let us know if you have any more questions.
Thanks!
from fbretaincycledetector.
Related Issues (20)
- Cannot find any useful information
- Questions about elements in FBBlockStrongLayout
- Xcode 12.5 compile error: Cannot initialize a parameter of type 'id<NSCopying> _Nonnull' with an rvalue of type HOT 13
- There is a small problem in Xcode 12.5
- Xcode 12.5 compile error still exist HOT 1
- fix xcode 12.5 compile file FBClassStrongLayout.mm error HOT 5
- Xcode12.5,文件类中参数错误提示,导致本库无法安装 HOT 2
- This allows a user to switch between volume caches, which increases the HOT 1
- Archive error after updating Xcode 12.5 HOT 3
- iOS15 fishhook crash HOT 7
- Does this library support Mac OS ?
- swift import FBRetainCycleDetector circular reference path cannot be find
- NSGetSizeAndAlignment(): unsupported type encoding spec 'b' at 'b1' in 'b1' HOT 3
- Fb
- Has this repo been abandoned?
- wova
- [FBAssociationManager hook] setup crash HOT 1
- 二维码 CIQRCodeGenerator崩溃 HOT 3
- fishhook.c crash HOT 11
- MobSF reported use of unsecured function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbretaincycledetector.