MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / drop

Method drop

src/pythonrun.rs:105–107  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

103/// The Drop implementation for GILGuard will release the GIL.
104impl Drop for GILGuard {
105 fn drop(&mut self) {
106 unsafe { ffi::PyGILState_Release(self.gstate) }
107 }
108}
109
110impl GILGuard {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected