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.
-
Notifications
You must be signed in to change notification settings - Fork 0
adamwulf/ARC-dealloc-self
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
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.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published