mongoc_client_destroy(3)

mongoc_client_destroy3

Usage

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 instead 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.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.