pub unsafe extern "C" fn es_delete_client(
client: *mut es_client_t,
) -> es_return_tAvailable on macOS only.
Expand description
Destroy an es_client_t, freeing resources and disconnecting from the ES subsystem
-
client: The client to be destroyed -
ES_RETURN_SUCCESSindicates all resources were freed. -
ES_RETURN_ERRORindicates an error occurred during shutdown and resources were leaked.
Must be called from the same thread that originally called es_new_client().