diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2018-08-20 20:45:43 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2018-10-21 20:01:34 +0200 |
commit | a5ae7256b318925419bc4d619dd428bdebbfde0f (patch) | |
tree | 31551877bb61ef0d5a65a240db2034f11ba6d9eb /test/data/apts-appointment-017 | |
parent | a94b0ecde01d021795c6c29a90d60a45f9198e2d (diff) | |
download | calcurse-a5ae7256b318925419bc4d619dd428bdebbfde0f.tar.gz calcurse-a5ae7256b318925419bc4d619dd428bdebbfde0f.zip |
Stop/start the notify main thread at the right level
The thread is stopped/started in wins_prepare/unprepare_external() when hooks
are run. There is no need to do it in io_reload_data(). In fact, because of the
nested calls
notify_stop_main_thread() <--- io_reload_data()
...
notify_stop_main_thread() <--- hook/wins_prepare_external()
...
notify_start_main_thread() <--- hook/wins_unprepare_external()
...
notify_start_main_thread() <--- io_reload_data()
the thread has been running after the first hook anyway.
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test/data/apts-appointment-017')
0 files changed, 0 insertions, 0 deletions