(&mut self)
| 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 | |
| 121 | pub(crate) struct FirewheelProcessorInner { |
no test coverage detected