mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-15 02:07: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
|
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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user