Skip to content

Conversation

@0pcom
Copy link
Collaborator

@0pcom 0pcom commented May 20, 2025

This PR fixes the failure to shut down with ctrl+c of all dmsg subcommands by the inclusion of a kill loop in the command wrapper init function.

it will kill the application / subcommand after 3 X ctrl+c which permits any graceful shutdown logic to attempt to work,, rather than just killing the application instantly

This may not be the best thing to put in an init function, as it should only be done once and has the potential to affect lots of other things. However, it's possible to work around this entirely since it's only included in the command wrapper. But again it will affect anything that imports the wrapper - i.e. skywire.

We need better process control. Perhaps this is a first step in that direction.

@0pcom 0pcom merged commit e7e38a3 into skycoin:develop May 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant