Olivier Louvignes created CB-8669:
-------------------------------------
Summary: Always use setters to fix memory issues without ARC
Key: CB-8669
URL: https://issues.apache.org/jira/browse/CB-8669
Project: Apache Cordova
Issue Type: Bug
Components: Plugin File
Reporter: Olivier Louvignes
https://github.com/apache/cordova-plugin-file/pull/104
Encountered memory issues with a non-ARC project (cordova+unity3d). Setter
should be used to prevent memory issues, eg:
A synthesized retained setter looks like :
- (void)setValue: (id)newValue
{
if (value != newValue)
{
[value release];
value = newValue;
[value retain];
}
}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]