MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / drop

Method drop

fendermint/testing/materializer/src/docker/container.rs:140–154  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

138
139impl Drop for DockerContainer {
140 fn drop(&mut self) {
141 if self.container.keep {
142 return;
143 }
144 if self
145 .dropper
146 .send(DropCommand::DropContainer(self.container.name.clone()))
147 .is_err()
148 {
149 tracing::error!(
150 container_name = self.container.name,
151 "dropper no longer listening"
152 );
153 }
154 }
155}

Callers

nothing calls this directly

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected