Make flag used by signal "volatile"
This commit is contained in:
parent
1a69810bea
commit
895d46dade
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#define DEFAULT_FILE_PLAYER_PROGRAM "/usr/bin/mpv"
|
#define DEFAULT_FILE_PLAYER_PROGRAM "/usr/bin/mpv"
|
||||||
|
|
||||||
int is_running;
|
volatile int is_running;
|
||||||
|
|
||||||
void interval_notification_handle_signal(int sig) {
|
void interval_notification_handle_signal(int sig) {
|
||||||
if (sig == SIGINT) {
|
if (sig == SIGINT) {
|
||||||
|
|
Loading…
Reference in a new issue