Skip to content

YYTransaction中 Runloop 为什么只在主线程中使用 ? #14

@MaydayFive

Description

@MaydayFive

_ASAsyncTransactionGroup.m中
CFRunLoopRef runLoop = CFRunLoopGetCurrent();
YYTransaction中CFRunLoopRef runloop = CFRunLoopGetMain();
只会在主线程中回调,可不可以改成CFRunLoopGetCurrent()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions