如果我没有正确打开它,我需要关闭它吗?
if (!CFReadStreamOpen(stream))
{
//Do I need to add
//CFReadStreamClose(stream)
CFRelease(stream);
stream = nil;
}
如果我没有正确打开它,我需要关闭它吗?
if (!CFReadStreamOpen(stream))
{
//Do I need to add
//CFReadStreamClose(stream)
CFRelease(stream);
stream = nil;
}