Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Yung-Luen Lan
2011-11-11 10:49:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
Joseph Heenan
2012-01-14 17:16:40 +0000
Commit
8bb232a430258fbfedbeba7ada5c72d58e03263c
8bb232a4
1 parent
9d077686
Release request redirected block. (Otherwise it will leak.)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
Classes/ASIHTTPRequest.m
Classes/ASIHTTPRequest.m
View file @
8bb232a
...
...
@@ -460,6 +460,11 @@ static NSOperationQueue *sharedQueue = nil;
[
authenticationNeededBlock
release
];
authenticationNeededBlock
=
nil
;
}
if
(
requestRedirectedBlock
)
{
[
blocks
addObject
:
requestRedirectedBlock
];
[
requestRedirectedBlock
release
];
requestRedirectedBlock
=
nil
;
}
[[
self
class
]
performSelectorOnMainThread
:
@selector
(
releaseBlocks
:)
withObject
:
blocks
waitUntilDone
:
[
NSThread
isMainThread
]];
}
// Always called on main thread
...
...
Please
register
or
login
to post a comment