MCPcopy Create free account
hub / github.com/dfinity/orbit / drop

Method drop

libs/orbit-essentials/src/utils/lock.rs:79–81  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

77
78impl<T: Ord> Drop for CallerGuard<T> {
79 fn drop(&mut self) {
80 self.state.borrow_mut().pending_requests.remove(&self.lock);
81 }
82}
83
84#[cfg(test)]

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected