mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
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:
parent
385c356801
commit
b34f4a4c6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue