shutdown_shared_socket_service

Function shutdown_shared_socket_service 

Source
pub async fn shutdown_shared_socket_service()
Expand description

Signal the global shared socket listener to stop, if it was ever started.

Must be called during graceful shutdown BEFORE the pipeline runtime (which hosts the accept loop) is torn down, so the loop breaks on its watch signal instead of spinning on accept() errors from a shutting-down tokio context. Uses SHARED_SOCKET.get() (not get_or_init) so it is a true no-op when the service was never initialized (i.e. no plugin ever executed).