aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 071ef335cf..63914f3a46 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -496,6 +496,9 @@ void free_all_mem(void)
return;
entered = true;
+ // Set this flag to indicate some errors can be ignored.
+ really_exiting = true;
+
// Don't want to trigger autocommands from here on.
block_autocmds();