MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / drop

Method drop

tests/wast.rs:344–347  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

342
343 impl Drop for LockGuard<'_> {
344 fn drop(&mut self) {
345 *self.state.lock.lock().unwrap() -= 1;
346 self.state.waiters.notify_one();
347 }
348 }
349
350 ACTIVE.lock()

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected