Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamwulf/arc-dealloc-self
This repository explains how and when an object might be dealloc'd inside of one of its own methods, and provides alternative implementations that would not exhibit this memory bug.
https://github.com/adamwulf/arc-dealloc-self
Last synced: 3 days ago
JSON representation
This repository explains how and when an object might be dealloc'd inside of one of its own methods, and provides alternative implementations that would not exhibit this memory bug.
- Host: GitHub
- URL: https://github.com/adamwulf/arc-dealloc-self
- Owner: adamwulf
- Created: 2013-10-30T03:06:32.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-30T03:10:06.000Z (about 11 years ago)
- Last Synced: 2024-05-01T12:29:57.714Z (7 months ago)
- Language: Objective-C
- Size: 121 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# self dealloc mid-method in ARC
This code shows how an object can be dealloc'd during the middle of it's own method, causing an EXEC_BAD_ACCESS when accessing self. The code explains why and how this may happen, and then gives 3 alternatives that will not show the same bug.