MCPcopy Create free account
hub / github.com/apple/foundationdb / ~ThreadSafeTransaction

Method ~ThreadSafeTransaction

fdbclient/ThreadSafeTransaction.cpp:291–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291ThreadSafeTransaction::~ThreadSafeTransaction() {
292 ISingleThreadTransaction* tr = this->tr;
293 if (tr)
294 onMainThreadVoid([tr]() { tr->delref(); });
295}
296
297void ThreadSafeTransaction::cancel() {
298 ISingleThreadTransaction* tr = this->tr;

Callers

nothing calls this directly

Calls 2

onMainThreadVoidFunction · 0.85
delrefMethod · 0.45

Tested by

no test coverage detected