mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #27439 from bfredl/nofreeallmem
fix(exitfree): don't use ex commands to close windows in free_all_mem()
This commit is contained in:
commit
84b6ade415
@ -724,13 +724,6 @@ void free_all_mem(void)
|
|||||||
do_cmdline_cmd("tabonly!");
|
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.
|
// Free all spell info.
|
||||||
spell_free_all();
|
spell_free_all();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user