holoscan::channel_internal::close_local_subscriber
holoscan::channel_internal::close_local_subscriber
Consume and retire one source-private subscriber owner.
Existing endpoint destruction remains the sole authority for staged and backend cleanup.
Returns: Success, ErrorCode::kClosed when already consumed, or a code-only cleanup error.
Template parameters
Subscriber
Concrete endpoint type derived from WaitSetSubscriber.
Parameters
subscriber
Owning endpoint pointer; null on return, including after a retirement error.