diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2018-06-03 10:26:24 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2018-06-03 10:28:28 +0200 |
commit | 30f411257ad3bc233184c08b846a2980a9c5d1f0 (patch) | |
tree | 03e05c13d8c44033eecfbb0a9b2a5b3db867a7de /src/args.c | |
parent | e55aead1267fedfca3485699716cd4031a508df3 (diff) | |
download | calcurse-30f411257ad3bc233184c08b846a2980a9c5d1f0.tar.gz calcurse-30f411257ad3bc233184c08b846a2980a9c5d1f0.zip |
Do not stop already cancelled notification thread
Add a static state variable to indicate whether the notification thread
is already running or not. Only start the thread if the notification
thread is paused. Only stop the thread if the notification thread is
actually running.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/args.c')
0 files changed, 0 insertions, 0 deletions