Browse files

Remove usless synchronization on nil

  • Loading branch information...
1 parent 0ecffb0 commit 74cbf5bf47b1440522774afa60e37300e50473a0 @rs committed Apr 27, 2011
Showing with 1 addition and 7 deletions.
  1. +1 −7 SDNetworkActivityIndicator.m
View
8 SDNetworkActivityIndicator.m
@@ -16,13 +16,7 @@ + (id)sharedActivityIndicator
{
if (instance == nil)
{
- @synchronized(instance)
- {
- if (instance == nil)
- {
- instance = [[SDNetworkActivityIndicator alloc] init];
- }
- }
+ instance = [[SDNetworkActivityIndicator alloc] init];
}
return instance;

0 comments on commit 74cbf5b

Please sign in to comment.