Function es_delete_client

Source
pub unsafe extern "C" fn es_delete_client(
    client: *mut es_client_t,
) -> es_return_t
Available 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_SUCCESS indicates all resources were freed.

  • ES_RETURN_ERROR indicates an error occurred during shutdown and resources were leaked.

Must be called from the same thread that originally called es_new_client().