MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / drop

Method drop

crates/chat-cli/src/cli/chat/mod.rs:1259–1272  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1257
1258impl Drop for ChatSession {
1259 fn drop(&mut self) {
1260 if let Some(spinner) = &mut self.spinner {
1261 spinner.stop();
1262 }
1263
1264 execute!(
1265 self.stderr,
1266 cursor::MoveToColumn(0),
1267 StyledText::reset_attributes(),
1268 StyledText::reset(),
1269 cursor::Show
1270 )
1271 .ok();
1272 }
1273}
1274
1275/// The chat execution state.

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected