MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / drop_inner

Method drop_inner

crates/firewheel-graph/src/processor.rs:104–118  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

102 }
103
104 fn drop_inner(&mut self) {
105 let Some(mut inner) = self.inner.take() else {
106 return;
107 };
108
109 inner.stream_stopped();
110
111 // TODO: Remove this feature gate once `bevy_platform` implements `thread::panicking()`.
112 #[cfg(feature = "std")]
113 if std::thread::panicking() {
114 inner.poisoned = true;
115 }
116
117 let _ = self.drop_tx.try_push(inner);
118 }
119}
120
121pub(crate) struct FirewheelProcessorInner {

Callers 2

dropMethod · 0.80
poll_drop_flagMethod · 0.80

Calls 1

stream_stoppedMethod · 0.45

Tested by

no test coverage detected