Skip to content

Commit

Permalink
Removed extraneous method calls to NSURLConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
phoboslab committed Nov 2, 2012
1 parent 9610f02 commit 3b9db92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Classes/Ejecta/EJUtils/EJBindingHttpRequest.m
Expand Up @@ -199,8 +199,6 @@ - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {
if( async ) {
state = kEJHttpRequestStateLoading;
connection = [[NSURLConnection alloc] initWithRequest:request delegate:self];
[connection setDelegateQueue:[EJApp instance].opQueue];
[connection start];
}
else {
NSData * data = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:nil];
Expand Down

0 comments on commit 3b9db92

Please sign in to comment.