commit 84b6ade41510ffad7d712abe2b010e4027b7033c
parent 0185152802d4a84258a9a04c1d86a7e27d37d721
Author: bfredl <bjorn.linse@gmail.com>
Date: Mon, 12 Feb 2024 16:50:38 +0100
Merge pull request #27439 from bfredl/nofreeallmem
fix(exitfree): don't use ex commands to close windows in free_all_mem()
Diffstat:
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
@@ -724,13 +724,6 @@ void free_all_mem(void)
do_cmdline_cmd("tabonly!");
}
- if (!ONE_WINDOW) {
- // to keep things simple, don't perform this
- // ritual inside a float
- curwin = firstwin;
- do_cmdline_cmd("only!");
- }
-
// Free all spell info.
spell_free_all();