MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / cancel_log_stream

Method cancel_log_stream

crates/openshell-tui/src/app.rs:2743–2747  ·  view source on GitHub ↗

Cancel any running log stream task.

(&mut self)

Source from the content-addressed store, hash-verified

2741
2742 /// Cancel any running log stream task.
2743 pub fn cancel_log_stream(&mut self) {
2744 if let Some(handle) = self.log_stream_handle.take() {
2745 handle.abort();
2746 }
2747 }
2748
2749 /// Stop the animation ticker if running.
2750 pub fn stop_anim(&mut self) {

Callers 9

runFunction · 0.80
spawn_log_streamFunction · 0.80
handle_sandbox_deleteFunction · 0.80
handle_shell_connectFunction · 0.80
handle_exec_commandFunction · 0.80
handle_policy_keyMethod · 0.80
handle_logs_keyMethod · 0.80
reset_sandbox_stateMethod · 0.80

Calls 1

abortMethod · 0.80

Tested by

no test coverage detected