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;
|
||||
|
||||
if (ui_mode == UI_CURSES) {
|
||||
notify_stop_main_thread();
|
||||
ui_calendar_stop_date_thread();
|
||||
io_stop_psave_thread();
|
||||
|
||||
if (ui_mode == UI_CURSES) {
|
||||
notify_stop_main_thread();
|
||||
clear();
|
||||
wins_refresh();
|
||||
endwin();
|
||||
|
Loading…
x
Reference in New Issue
Block a user