Merge pull request #148 from volo-zyko/ZDev3

Set exitflag before cleaning up
This commit is contained in:
lwvmobile
2023-07-03 12:25:17 -04:00
committed by GitHub

View File

@@ -1334,6 +1334,9 @@ if (opts->audio_out_type == 0)
void void
cleanupAndExit (dsd_opts * opts, dsd_state * state) cleanupAndExit (dsd_opts * opts, dsd_state * state)
{ {
// Signal that everything should shutdown.
exitflag = 1;
noCarrier (opts, state); noCarrier (opts, state);
if (opts->wav_out_f != NULL) if (opts->wav_out_f != NULL)
{ {