mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-14 08:03:34 +00:00
the implementation is flawed - because multiple APIs hit a single server, the reference count can reach zeoro for a given interface, and trigger a disconnect, while another API is still using it. the long-term fix for this, if we wanted auto-disconnect, would be to wrap the connection query into a helper that uses an Arc to ensure the count is maintained across all possible interfaces. However, for the HAL, it's likely that pretty much every server is going to want this connection, and want it to stay around so - we'll just remove the auto-disconnect idiom for now and figure something out if we end up hitting a connection resource limit on a service that truly only needs the HAL connection early on in its lifecycle and never needs it again. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||