Invalidates a CFRunLoopSource object, stopping it from ever firing again.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The run loop source to invalidate.
source will never fire and call its perform callback function again. This function automatically removes
source from all the run loop modes in which it was registered. If
source is a version 0 source, this function calls its
cancel callback function as it is removed from each run loop mode. The memory for
source is not deallocated unless the run loop held the only reference to