MCPcopy Index your code
hub / github.com/ermak-dev/cloudpub / stop

Method stop

client/src/shell.rs:81–88  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

79 }
80
81 pub fn stop(&mut self) {
82 self.canceled.store(true, Ordering::Relaxed);
83 self.shutdown_tx
84 .try_send(Message::Break(Break {
85 ..Default::default()
86 }))
87 .ok();
88 }
89}
90
91impl Drop for SubProcess {

Callers 2

dropMethod · 0.45
handle_service_commandFunction · 0.45

Calls 1

try_sendMethod · 0.80

Tested by

no test coverage detected