Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed memory leak found during analyzing and profiling phases.
Fixed GC ARC issue which may lead to application crash while retrieving GC released bundle seed identifier string value. For some reasons GC releases the value of string variable on the next method invocation. As a result it becomes a zombie object referencing to an unallocated memory. Assigning its value on the first method call to a static variable by explicit object copy resolves the issue. More info can be found on the following link, however the issue is still very specific for this case: http://stackoverflow.com/questions/6316723/why-retain-a-static-variable
- Loading branch information
1 parent
fde8ba8
commit 286d3e0
Showing
2 changed files
with
41 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters