Committed by
Ben Copsey
fix deadlock caused by not unlocking cache lock on 304
Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -273,6 +273,7 @@ static NSString *permanentCacheFolder = @"PermanentStore"; | @@ -273,6 +273,7 @@ static NSString *permanentCacheFolder = @"PermanentStore"; | ||
| 273 | 273 | ||
| 274 | // New content is not different | 274 | // New content is not different |
| 275 | if ([request responseStatusCode] == 304) { | 275 | if ([request responseStatusCode] == 304) { |
| 276 | + [[self accessLock] unlock]; | ||
| 276 | return YES; | 277 | return YES; |
| 277 | } | 278 | } |
| 278 | 279 |
-
Please register or login to post a comment