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
Ben Copsey
2010-12-04 14:27:32 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
307716adfc88e837412f1fe224bce1fd72497f39
307716ad
1 parent
b9269002
Wrap handleNetworkEvent in an autoreleasepool again
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
Classes/ASIHTTPRequest.m
Classes/ASIHTTPRequest.m
View file @
307716a
...
...
@@ -24,7 +24,7 @@
#import "ASIDataCompressor.h"
// Automatically set on build
NSString
*
ASIHTTPRequestVersion
=
@"v1.8-
19
2010-12-04"
;
NSString
*
ASIHTTPRequestVersion
=
@"v1.8-
21
2010-12-04"
;
NSString
*
const
NetworkRequestErrorDomain
=
@"ASIHTTPRequestErrorDomain"
;
...
...
@@ -2918,10 +2918,13 @@ static NSOperationQueue *sharedQueue = nil;
-
(
void
)
handleNetworkEvent
:
(
CFStreamEventType
)
type
{
NSAutoreleasePool
*
pool
=
[[
NSAutoreleasePool
alloc
]
init
];
[[
self
cancelledLock
]
lock
];
if
([
self
complete
]
||
[
self
isCancelled
])
{
[[
self
cancelledLock
]
unlock
];
[
pool
release
];
return
;
}
...
...
@@ -2973,6 +2976,7 @@ static NSOperationQueue *sharedQueue = nil;
}
CFRelease
(
self
);
[
pool
release
];
}
-
(
void
)
handleBytesAvailable
...
...
Please
register
or
login
to post a comment