Function grpcio_sys::grpc_shutdown

source ·
pub unsafe extern "C" fn grpc_shutdown()
Expand description

Shut down the grpc library.

Before it’s called, there should haven been a matching invocation to grpc_init().

The last call to grpc_shutdown will initiate cleaning up of grpc library internals, which can happen in another thread. Once the clean-up is done, no memory is used by grpc, nor are any instructions executing within the grpc library. Prior to calling, all application owned grpc objects must have been destroyed.