mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
Feature/full embassy recovery (#775)
* kinda working * recovery working * Update appmgr/src/manager/mod.rs Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
This commit is contained in:
@@ -110,6 +110,14 @@ impl ManagerMap {
|
||||
|((id, version), man)| async move {
|
||||
man.exit().await?;
|
||||
tracing::debug!("Manager for {}@{} shutdown", id, version);
|
||||
if let Err(e) = Arc::try_unwrap(man) {
|
||||
tracing::trace!(
|
||||
"Manager for {}@{} still has {} other open references",
|
||||
id,
|
||||
version,
|
||||
Arc::strong_count(&e) - 1
|
||||
);
|
||||
}
|
||||
Ok::<_, Error>(())
|
||||
},
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user