From 59ffddaad5350c04d327ee7f466b415606ad337c Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Tue, 6 Oct 2020 02:12:59 +0200 Subject: [PATCH] jack: correctness of variable access in signal handler --- clients/jack_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/jack_client.cpp b/clients/jack_client.cpp index b135166b..b9e5f5dd 100644 --- a/clients/jack_client.cpp +++ b/clients/jack_client.cpp @@ -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) {