mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-12 08:47:24 -05:00
Set exitflag before cleaning up
This will signal to all related code that the program is about to exit.
This commit is contained in:
@@ -1334,6 +1334,9 @@ if (opts->audio_out_type == 0)
|
||||
void
|
||||
cleanupAndExit (dsd_opts * opts, dsd_state * state)
|
||||
{
|
||||
// Signal that everything should shutdown.
|
||||
exitflag = 1;
|
||||
|
||||
noCarrier (opts, state);
|
||||
if (opts->wav_out_f != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user