Permalink
Browse files

fixes semaphore freeze when using singleton inside singleton

  • Loading branch information...
1 parent bcd623e commit eb7b40f921d4f8c00b85f2b4bacf60e70aac26db @steipete committed Oct 21, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Utils/PSStatusBarSaver.m
View
@@ -20,7 +20,8 @@ @implementation PSStatusBarSaver
//
- (id)init {
if ((self = [super init])) {
- [[self class] captureStatusBar];
+ // capture
+ self.savedStatusBarStyle = [UIApplication sharedApplication].statusBarStyle;
}
return self;
}

0 comments on commit eb7b40f

Please sign in to comment.