MCPcopy Create free account
hub / github.com/pybind/pybind11 / disarm

Method disarm

include/pybind11/subinterpreter.h:221–221  ·  view source on GitHub ↗

abandon cleanup of this subinterpreter (leak it). this might be needed during finalization...

Source from the content-addressed store, hash-verified

219 /// abandon cleanup of this subinterpreter (leak it). this might be needed during
220 /// finalization...
221 void disarm() { creation_tstate_ = nullptr; }
222
223 /// An empty wrapper cannot be activated
224 bool empty() const { return istate_ == nullptr; }

Callers 2

mainMethod · 0.45
currentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected