diff options
| author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2025-10-11 18:08:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-11 18:08:24 +0100 |
| commit | 3ccba4cdffb82e8238475e52382b20e380322e8f (patch) | |
| tree | 4caa54fca755d64829423b20dc3df46238591d6b /test/functional/vimscript/executable_spec.lua | |
| parent | 150490d365a37b89d88a0e66ef6ec789bb4eb1c3 (diff) | |
| download | rneovim-3ccba4cdffb82e8238475e52382b20e380322e8f.tar.gz rneovim-3ccba4cdffb82e8238475e52382b20e380322e8f.tar.bz2 rneovim-3ccba4cdffb82e8238475e52382b20e380322e8f.zip | |
fix(float): crash from nasty :fclose autocmds (#36134)
Problem: :fclose may crash Nvim if autocommands close floats prematurely.
Alternatively, :fclose may call win_close for windows not in curtab if
autocommands change curtab or move windows between tab pages via
nvim_win_set_config (may not crash, but is wrong).
Solution: check win_valid before calling win_close.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions