MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / dealloc_transactions

Method dealloc_transactions

src/transactions/transactions.cxx:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33#include <sstream>
34
35void
36pycbc::txns::dealloc_transactions(PyObject* obj)
37{
38 auto txns = reinterpret_cast<pycbc::txns::transactions*>(PyCapsule_GetPointer(obj, "txns_"));
39 txns->txns->close();
40 txns->txns.reset();
41 CB_LOG_DEBUG("dealloc transactions");
42}
43
44void
45pycbc::txns::dealloc_transaction_context(PyObject* obj)

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected