jack: correctness of variable access in signal handler

This commit is contained in:
Jean Pierre Cimalando 2020-10-06 02:12:59 +02:00
parent e7c79a9b5f
commit 59ffddaad5

View file

@ -127,7 +127,7 @@ int sampleRateChanged(jack_nframes_t nframes, void* arg)
return 0;
}
static bool shouldClose { false };
static volatile sig_atomic_t shouldClose { false };
static void done(int sig)
{