You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seem the lib add Timer to Runloop.main in network thread (generally not main thread).
But the document warningNSRunLoop is not thread safe.
The NSRunLoop class is generally not considered to be thread-safe and its methods should only be called within the context of the current thread. You should never try to call the methods of an NSRunLoop object running in a different thread, as doing so might cause unexpected results.
It seem the lib add
Timer
toRunloop.main
in network thread (generally not main thread).But the document warning NSRunLoop is not thread safe.
Core Foundation are generally thread-safe, use
CFRunLoop*
may be better.The text was updated successfully, but these errors were encountered: