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
To work around #14410, I'm using forget() to make a subprocess stay up longer than its (rust) parent. But while that works with libnative, that deadlocks on shutdown with rustuv. It's not even wait()ing on its child, because once the child quits, it's still stuck.
I personally don't think we need to be guaranteeing that (a) rustuv works correctly without running destructors, or (b) that the behaviour of green and native match in every scenario (especially one like this).
To work around #14410, I'm using forget() to make a subprocess stay up longer than its (rust) parent. But while that works with libnative, that deadlocks on shutdown with rustuv. It's not even wait()ing on its child, because once the child quits, it's still stuck.
If you wait the 10 seconds it takes for sleep to end, the above test program still is stuck.
The text was updated successfully, but these errors were encountered: