MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / drop

Method drop

atomic-cli/tests/it/json_output_contract_test.rs:176–182  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

174
175impl Drop for MockServer {
176 fn drop(&mut self) {
177 self.stop.store(true, Ordering::Relaxed);
178 let result = self.worker.take().expect("mock worker exists").join();
179 if !thread::panicking() {
180 result.expect("mock server panicked");
181 }
182 }
183}
184
185#[test]

Callers

nothing calls this directly

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected