We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d214f18 commit 81e15f9Copy full SHA for 81e15f9
src/framework/mocha/Objects/MOBoxManager.h
@@ -30,6 +30,10 @@
30
31
When an Obj-C object is longer referenced externally, we will continue to retain it, until such time as there
32
are no more JS references to it.
33
+
34
+ Note that the JS object does not increment the retain count for the MOBox object.
35
+ We ensure that there's a retain cycle MOBox -> object -> index -> MOBox, which keeps the box and its object
36
+ alive whilst the JS object is alive.
37
*/
38
39
@interface MOBoxManager : NSObject
0 commit comments