Marks the receiver as invalid and posts an
NSPort to the default notification center.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
You must call this method before releasing a port object (or removing strong references to it if your application is garbage collected).