remove failure case in Drop implementation

this is some technical debt - Drop doesn't coordinate across
all instances of an object and so the disconnect isn't able
to know exactly when to disconnect. This will require some
guru meditation later on to correct this in a "proper" fashion.
This commit is contained in:
bunnie 2026-01-27 22:08:28 +08:00
parent 385c356801
commit b34f4a4c6f

View file

@ -336,7 +336,7 @@ impl Drop for IoxHal {
// connection.
if REFCOUNT.fetch_sub(1, Ordering::Relaxed) == 1 {
unsafe {
xous::disconnect(self.conn).unwrap();
xous::disconnect(self.conn).ok();
}
}
}