Skip to content

NSRunLoop getCFRunLoop incorrect #2595

Open

Description

Currently is:

/**
 @Status Interoperable
 @Notes CFRunLoop and NSRunLoop are the same object.  Returns self.
*/
- (CFRunLoopRef)getCFRunLoop {
    return static_cast<CFRunLoopRef>(self);
}

But NSRunLoop is not built on CFRunLoop so the returned value is not a valid CFRunLoop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions