Only stop threads when exiting from interactive mode
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
parent
dd4d444c0c
commit
41f4a92fa9
@ -74,11 +74,11 @@ void exit_calcurse(int status)
|
|||||||
{
|
{
|
||||||
int was_interactive;
|
int was_interactive;
|
||||||
|
|
||||||
ui_calendar_stop_date_thread();
|
|
||||||
io_stop_psave_thread();
|
|
||||||
|
|
||||||
if (ui_mode == UI_CURSES) {
|
if (ui_mode == UI_CURSES) {
|
||||||
notify_stop_main_thread();
|
notify_stop_main_thread();
|
||||||
|
ui_calendar_stop_date_thread();
|
||||||
|
io_stop_psave_thread();
|
||||||
|
|
||||||
clear();
|
clear();
|
||||||
wins_refresh();
|
wins_refresh();
|
||||||
endwin();
|
endwin();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user