1MONGOC_CLIENT_DESTROY(3)           libmongoc          MONGOC_CLIENT_DESTROY(3)
2
3
4

SYNOPSIS

6          void
7          mongoc_client_destroy (mongoc_client_t *client);
8
9       Release  all  resources  associated with client and free the structure.
10       Does nothing if client is NULL.
11
12       Only call mongoc_client_destroy() on a single-threaded client.  Do  not
13       call  on  a mongoc_client_t obtained from a mongoc_client_pool_t, which
14       should instead be pushed back with mongoc_client_pool_push().
15

PARAMETERS

17client: A mongoc_client_t.
18
19       SEE ALSO:
20          mongoc_client_pool_push() to push a multi-threaded client back onto a pool.
21
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.25.1                           Nov 08, 2023         MONGOC_CLIENT_DESTROY(3)
Impressum