Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_dead
Method
is_dead
crates/vm/src/object/core.rs:851–853 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
849
}
850
851
pub(crate) fn is_dead(&self) -> bool {
852
self.wr_object.load(Ordering::Acquire).is_null()
853
}
854
855
/// weakref_dealloc: remove from list if still linked.
856
fn drop_inner(&self) {
Callers
1
_remove_dead_weakref
Function · 0.80
Calls
1
load
Method · 0.45
Tested by
no test coverage detected