diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-08-24 21:44:47 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-08-24 21:49:53 +0200 |
commit | e6f8a2932a9d66e905f0cf2e6d02fc17e1caad06 (patch) | |
tree | 67f497dfa3844e23b1ef95af7c814babf85c4ff2 /autogen.sh | |
parent | 8fe9dd1c2bb12b4909491dd54cce810e335e5c6f (diff) | |
download | calcurse-e6f8a2932a9d66e905f0cf2e6d02fc17e1caad06.tar.gz calcurse-e6f8a2932a9d66e905f0cf2e6d02fc17e1caad06.zip |
Avoid starting the notification thread twice
Starting the notification thread more than once can result in strange
behavior. For example, when launching external commands, only the most
recently started thread is stopped which results in the external
command's screen output being overwritten by the notification bar.
Currently, there are a couple of situations where the thread is started
twice. As a first countermeasure, explicitly check whether the thread is
already running (and terminate it) before starting a new one.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions