aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/python.vim
diff options
context:
space:
mode:
authorBarrett Ruth <62671086+barrettruth@users.noreply.github.com>2026-06-27 20:32:11 -0500
committerGitHub <noreply@github.com>2026-06-27 21:32:11 -0400
commita5aa62e37b82214a1d4d1e0a54d193b155fb340c (patch)
tree340d186cade165f0a213a05df92b94ebef1dd436 /runtime/ftplugin/python.vim
parent35cbf4fbddc5b095bc21fe23fd62f091355e40b0 (diff)
downloadrneovim-a5aa62e37b82214a1d4d1e0a54d193b155fb340c.tar.gz
rneovim-a5aa62e37b82214a1d4d1e0a54d193b155fb340c.tar.bz2
rneovim-a5aa62e37b82214a1d4d1e0a54d193b155fb340c.zip
fix(lua): reject process exit in fast callbacks #39937
Problem: `os.exit()` in `nvim -l` exits through normal teardown. But, as #39783 shows, when it is called from a libuv callback, teardown polling the main loop when inside `uv_run()` can trip the recursive poll guard and cause a crash. Fast callbacks are not safe to teardown, so it's better to schedule an exit out of a callback rather than convolutedly handle this as I tried before. Solution: Reject `os.exit()` from fast callbacks with `E5560` error.
Diffstat (limited to 'runtime/ftplugin/python.vim')
0 files changed, 0 insertions, 0 deletions