Skip to content

QNCFHttpClient 中的cancel方法内部判断错误 #459

@qianshang

Description

@qianshang

判断写反了

- (void)cancel {
    // 原写法 if (self.thread)
    if (!self.thread) {
        return;
    }
    
    [self.httpClient performSelector:@selector(cancel)
                            onThread:self.thread
                          withObject:nil
                       waitUntilDone:NO];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions