Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
MONGOC_CLIENT_DESTROY(3)	    libmongoc		MONGOC_CLIENT_DESTROY(3)

SYNOPSIS
	void
	mongoc_client_destroy (mongoc_client_t *client);

     Release  all  resources associated with client and free the structure. Does
     nothing if client is NULL.

     Only call mongoc_client_destroy() on a single-threaded client. Do not  call
     on a mongoc_client_t obtained from a mongoc_client_pool_t, which should in-
     stead be pushed back with mongoc_client_pool_push().

PARAMETERS
     * client: A mongoc_client_t.

     SEE ALSO:
	mongoc_client_pool_push() to push a multi-threaded client back onto a pool.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026		MONGOC_CLIENT_DESTROY(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_client_destroy&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help