MCPcopy Index your code
hub / github.com/RustPython/RustPython / drop

Method drop

crates/stdlib/src/openssl.rs:555–558  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

553
554 impl Drop for HandshakeVmGuard {
555 fn drop(&mut self) {
556 HANDSHAKE_VM.with(|cell| cell.set(None));
557 HANDSHAKE_SSL_PTR.with(|cell| cell.set(None));
558 }
559 }
560
561 // Get SSL pointer - either from thread-local (during handshake) or from connection

Callers

nothing calls this directly

Calls 2

withMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected