From: volpol Date: Sat, 1 Sep 2018 12:37:42 +0000 (+0200) Subject: Allow mixing thread to finish before resetting X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=2b02d76a9cbb6a20723816572510c758e602cc5d;p=bbd.git Allow mixing thread to finish before resetting --- diff --git a/main.c b/main.c index c5c86e5..1b6928b 100644 --- a/main.c +++ b/main.c @@ -164,7 +164,7 @@ int bbd(void){ mgmt_init(); status_ready(); while (force_quit != FQ_EXIT){ - if (FQ_RESET == force_quit){ + if (mix_state <= 0 && FQ_RESET == force_quit){ force_quit = FQ_NONE; mix_state = 0; }