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

NAME

6       mongoc_client_destroy - mongoc_client_destroy()
7

SYNOPSIS

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

PARAMETERS

20client: A mongoc_client_t.
21
22       SEE ALSO:
23          mongoc_client_pool_push() to push a multi-threaded client back onto a pool.
24
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.20.0                           Nov 18, 2021         MONGOC_CLIENT_DESTROY(3)
Impressum