Changed STKCoreFoundationDataSource to not open in registerForEvents (delay open and registration)

This commit is contained in:
Thong Nguyen 2014-02-12 23:09:53 +00:00
parent 8c5b4fb298
commit 6216abb0ab
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}