mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 03:28:33 +00:00
ui_detach: Do not redraw during teardown/exit.
This commit is contained in:
@@ -977,9 +977,7 @@ static void refresh_terminal(Terminal *term)
|
||||
// event.
|
||||
static void refresh_timer_cb(TimeWatcher *watcher, void *data)
|
||||
{
|
||||
if (exiting) {
|
||||
// bad things can happen if we redraw when exiting, and there's no need to
|
||||
// update the buffer.
|
||||
if (exiting) { // Cannot redraw (requires event loop) during teardown/exit.
|
||||
goto end;
|
||||
}
|
||||
Terminal *term;
|
||||
|
Reference in New Issue
Block a user