5VMLVYL7NPW4FW3NP45VJZCQIO4UAFOKVLAGNW42HG6OJEBMFFQQC
ZW67OU7OPHAITCJS3GHQYFBRY5YGOIGRD7B4CKULAXAEXHM42KYQC
ZJ2DSL63RVPSNXIGTAZNPV6HLHOKLWC5RSK5EAAM3HIYUJ5Y3ISQC
ASIORORAPGGVNLR42J6PZRTG7JKK34GYXBYSKSTJFXSFW6YXBJJQC
KZU3YXA22IYIPZICQTMZ4XILKCWOI5O6W4H72PDXDUTZDFVMVGVQC
LJJL6IBEQCCIVNJHDMXA7HBVI3CVROFUSFTXB3CSARCMJFM25Z5AC
OPLLJ6B6WHLEVGORJOLNZGJQZUW3RZY6TPPEJQLXFXLT5ZQTQP2QC
#[derive(Clone, Debug)]
pub struct MachinedHandle {
should_unload: Arc<AtomicBool>,
}
impl Default for MachinedHandle {
fn default() -> Self {
Self {
should_unload: Arc::new(AtomicBool::new(false)),
}
}
}
impl MachinedHandle {
/// Stops any sounds associated with this [`Trackable`]
fn unload(&self) {
self.should_unload.store(true, Ordering::SeqCst)
}
}