Easy way to reproduce: run with a -station that doesn't exist; nDAX will hang forever waiting for it to exist, and ^C won't exit.
The SIGINT handler currently only works to exit after we've properly started up, but it should be wired to bail out properly before that. In addition to that, maybe there should be a timeout for the radio / station / slice discovery phases on startup.
Easy way to reproduce: run with a
-station
that doesn't exist; nDAX will hang forever waiting for it to exist, and ^C won't exit.The SIGINT handler currently only works to exit after we've properly started up, but it should be wired to bail out properly before that. In addition to that, maybe there should be a timeout for the radio / station / slice discovery phases on startup.
All of this would be a good use for contexts.