Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CoreFoundation/Stream.subproj/CFStream.c
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,7 @@ CF_EXPORT void *_CFWriteStreamGetClient(CFWriteStreamRef writeStream) {
CF_PRIVATE void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, CFRunLoopRef runLoop, CFStringRef runLoopMode) {
const struct _CFStreamCallBacks *cb = _CFStreamGetCallBackPtr(stream);

#if __HAS_DISPATCH__
if (! stream->client) {
_initializeClient(stream);
if (!stream->client) return; // we don't support asynch.
Expand Down Expand Up @@ -1530,7 +1531,6 @@ CF_PRIVATE void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, CFRunLoop
__CFBitClear(stream->flags, CALLING_CLIENT);
}

#if __HAS_DISPATCH__
/*
* If we've got events pending, we need to wake up and signal
*/
Expand Down