MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / drop

Method drop

nodedb/src/control/server/pgwire/session/audit_context.rs:50–52  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

48
49impl Drop for AuditScope {
50 fn drop(&mut self) {
51 CURRENT.with(|c| c.borrow_mut().take());
52 }
53}
54
55/// Return a clone of the currently-installed audit context, if any.

Callers

nothing calls this directly

Calls 1

takeMethod · 0.45

Tested by

no test coverage detected