diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-02-12 16:50:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 16:50:38 +0100 |
commit | 84b6ade41510ffad7d712abe2b010e4027b7033c (patch) | |
tree | 44bce86c2fba59db893bb6f18b19ebc09d2aab09 /src | |
parent | 0185152802d4a84258a9a04c1d86a7e27d37d721 (diff) | |
parent | f1dd75c2af4076cfa9326f96ebd4cffd2d89a515 (diff) | |
download | rneovim-84b6ade41510ffad7d712abe2b010e4027b7033c.tar.gz rneovim-84b6ade41510ffad7d712abe2b010e4027b7033c.tar.bz2 rneovim-84b6ade41510ffad7d712abe2b010e4027b7033c.zip |
Merge pull request #27439 from bfredl/nofreeallmem
fix(exitfree): don't use ex commands to close windows in free_all_mem()
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/memory.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c index cf584575b8..d001685e63 100644 --- 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(); |