Skip to content


Subversion checkout URL

You can clone with
Download ZIP


fix for bad access / zombie calls #133

merged 1 commit into from

2 participants


I was seeing zombie call errors occasionally on app start up, and it appears to be caused by the static singleton field not being initialized. initializing to nil fixed the zombie problem for me.

@stig stig merged commit 5c4d5f7 into stig:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 20, 2012
  1. @jonkean
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Classes/SBJsonStreamParserState.m
2  Classes/SBJsonStreamParserState.m
@@ -35,7 +35,7 @@
#define SINGLETON \
+ (id)sharedInstance { \
- static id state; \
+ static id state = nil; \
if (!state) state = [[self alloc] init]; \
return state; \
Something went wrong with that request. Please try again.