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
Timer added to .commonModes could not be fired in Ubuntu 14.04/Swift 4.0.3 RELEASE. On the contrary, Dispatch Source Timer does work smoothly.
The open sourced implementations of CFRunLoopAddSource(), CFRunLoopAddObserver(), CFRunLoopAddTimer() etc., compare modeName against kCFRunLoopCommonModes using identity (==) rather than equality (CFEqual()). This might be the root cause of the issue and others.
The text was updated successfully, but these errors were encountered:
Attachment: Download
Environment
Ubuntu 14.04, 16.04
Swift 4.0.3
Additional Detail from JIRA
md5: 8a1f53554802145e87b26cf3d865b8f8
Issue Description:
Timer added to .commonModes could not be fired in Ubuntu 14.04/Swift 4.0.3 RELEASE. On the contrary, Dispatch Source Timer does work smoothly.
The open sourced implementations of CFRunLoopAddSource(), CFRunLoopAddObserver(), CFRunLoopAddTimer() etc., compare modeName against kCFRunLoopCommonModes using identity (==) rather than equality (CFEqual()). This might be the root cause of the issue and others.
The text was updated successfully, but these errors were encountered: