Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SINGLETON thread safe #140

Merged
merged 2 commits into from Jul 31, 2012
Merged

Make SINGLETON thread safe #140

merged 2 commits into from Jul 31, 2012

Conversation

AlenZhou
Copy link

Original SINGLETON in SBJsonStreamParserState.m & SBJsonStreamWriterState.m is not thread safe, when we use SBJSON concurrently, our app sometimes crashed while sending message to state, because state is dealloced.

stig added a commit that referenced this pull request Jul 31, 2012
Make SINGLETON thread safe
@stig stig merged commit 8e0d32c into SBJson:master Jul 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants