Skip to content

Commit

Permalink
Fix crasher
Browse files Browse the repository at this point in the history
  • Loading branch information
pokeb committed Jun 15, 2010
1 parent 9de7aa6 commit e5a0ed8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Classes/ASIHTTPRequest.m
Expand Up @@ -23,7 +23,7 @@


// Automatically set on build
NSString *ASIHTTPRequestVersion = @"v1.6.2-15 2010-06-15";
NSString *ASIHTTPRequestVersion = @"v1.6.2-16 2010-06-15";

NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain";

Expand Down Expand Up @@ -2600,9 +2600,10 @@ - (void)handleStreamComplete

- (void)markAsFinished
{
[[self retain] autorelease];
[self willChangeValueForKey:@"isFinished"];
[self didChangeValueForKey:@"isFinished"];
[self setInProgress:NO];
[self didChangeValueForKey:@"isFinished"];
CFRunLoopStop(CFRunLoopGetCurrent());
}

Expand Down

0 comments on commit e5a0ed8

Please sign in to comment.