mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-03-27 01:13:09 +00:00
fix(appd): remove abort_sender on READY timeout early-return path
The READY timeout branch killed the process and returned Ok(()) without calling remove_abort_sender(), leaving a spent entry in abort_senders. Add the call to keep it consistent with all other exit paths.
This commit is contained in:
parent
8eace960c2
commit
a3f60910d5
1 changed files with 1 additions and 0 deletions
|
|
@ -248,6 +248,7 @@ pub(crate) async fn supervise(
|
||||||
kill_portal(portal).await;
|
kill_portal(portal).await;
|
||||||
let mut reg = registry.lock().await;
|
let mut reg = registry.lock().await;
|
||||||
reg.set_state(session_id, AppStateKind::Stopped);
|
reg.set_state(session_id, AppStateKind::Stopped);
|
||||||
|
reg.remove_abort_sender(session_id);
|
||||||
let _ = reg.broadcast().send(Response::AppState {
|
let _ = reg.broadcast().send(Response::AppState {
|
||||||
session_id,
|
session_id,
|
||||||
state: AppStateKind::Stopped,
|
state: AppStateKind::Stopped,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue