mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Rework notifications to allow request queue to observe only the requests it dispatches instead of all of them. Fixes incorrectly decrementing loading count.
This commit is contained in:
@@ -439,7 +439,9 @@
|
||||
|
||||
// NOTE: This notification must be posted last as the request queue releases the request when it
|
||||
// receives the notification
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:RKResponseReceivedNotification object:response userInfo:nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:RKRequestReceivedResponseNotification
|
||||
object:self
|
||||
userInfo:nil];
|
||||
}
|
||||
|
||||
- (BOOL)isGET {
|
||||
|
||||
Reference in New Issue
Block a user