Merge pull request #1442 from musicchamber/patch-1
Update UIProgressView+AFNetworking.m
This commit is contained in:
commit
3a4b6c6cfe
@ -171,7 +171,7 @@ static char kAFDownloadProgressAnimated;
|
||||
}
|
||||
|
||||
if (context == AFTaskCountOfBytesReceivedContext) {
|
||||
[object removeObserver:self forKeyPath:NSStringFromSelector(@selector(countOfBytesSent))];
|
||||
[object removeObserver:self forKeyPath:NSStringFromSelector(@selector(countOfBytesReceived))];
|
||||
}
|
||||
}
|
||||
@catch (NSException * __unused exception) {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user