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
docs: node release gate does not wait for detached work #2003
The kdocs on releaseHandle and awaitNodeRelease in LightningService.kt say free_node returns only once the node's background tasks drain, and that this gate keeps a rebuild or storage wipe from overlapping the old node's work.
Since ldk-node 0.7.0-rc.81, Runtime::shutdown returns after its bounded drain while work is still running and hands the runtime to a reaper, so after a timed-out stop the gate returns while detached work can still run.
Expected: the kdocs say the gate waits until free_node returns, and that a timed-out stop can return while detached work still runs.
Raised in #1999 (comment); to be fixed with the next ldk-node bump.
Activity