You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Properly wind down all spawned tasks on any startup error #1009
At the moment if we fail to bind to any of our listening addresses, we return a startup error, but do not properly wind down the wallet sync, RGS, and pathfinding scores tasks, which are started before we attempt to bind our listeners.
Confirmed the shape: start()'s error arm (lib.rs:294-300) only calls chain_source.stop(), while start_inner has already spawned the wallet-sync, RGS and scores tasks by the time the listener bind can fail.
Activity
Jolah1 commentedon Aug 10, 2026
can i take this?
Confirmed the shape: start()'s error arm (lib.rs:294-300) only calls chain_source.stop(), while start_inner has already spawned the wallet-sync, RGS and scores tasks by the time the listener bind can fail.
Wind down spawned tasks when startup fails
Wind down spawned tasks when startup fails