aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorSean Dewar <6256228+seandewar@users.noreply.github.com>2026-01-04 13:15:08 +0000
committerGitHub <noreply@github.com>2026-01-04 13:15:08 +0000
commitc14de47f1a12e1479221ab525d224d77f7eb5953 (patch)
treed2c63df55b9c8e127a8325165ac8773f1541be58 /test/functional/vimscript/executable_spec.lua
parent5af11b3bbfec611ceeee150e68b526337308de05 (diff)
downloadrneovim-c14de47f1a12e1479221ab525d224d77f7eb5953.tar.gz
rneovim-c14de47f1a12e1479221ab525d224d77f7eb5953.tar.bz2
rneovim-c14de47f1a12e1479221ab525d224d77f7eb5953.zip
fix(window): crash closing only non-float if autocmds :tabonly (#37218)
Problem: null pointer member access when closing the only non-float in the current tab page if autocommands after closing all floats also close all other tab pages. (making it the last window) Solution: check last_window again after closing the floats. Also reduce the scope of "wp"; it would be bugprone to use it before it's later reassigned to the rv of win_free_mem if freed by Buf/WinLeave.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions