Changed STKCoreFoundationDataSource to not open in registerForEvents (delay open and registration)
This commit is contained in:
parent
8c5b4fb298
commit
6216abb0ab
|
|
@ -148,10 +148,10 @@ static void ReadStreamCallbackProc(CFReadStreamRef stream, CFStreamEventType eve
|
|||
{
|
||||
eventsRunLoop = runLoop;
|
||||
|
||||
if (!stream)
|
||||
if (!stream)
|
||||
{
|
||||
[self open];
|
||||
|
||||
// Will register when they open or seek
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue