Files
neovim/test/functional/api
zeertzjq eee2d10fd2 fix(rpc): trigger UILeave earlier on channel close (#38846)
Problem:
On exit, rpc_free() is called when processing main_loop.events after
libuv calls close callbacks of the channel's stream. However, when there
are no child processes, these libuv callbacks are called in loop_close()
instead of proc_teardown(), and main_loop.events isn't processed after
loop_close(). As a result, calling remote_ui_disconnect() in rpc_free()
causes UILeave to depend on the presence of child processes.

Solution:
Always call remote_ui_disconnect() in rpc_close_event(), and remove the
call in rpc_free().

(cherry picked from commit 5d66ef188f)
2026-04-07 21:55:09 +00:00
..
2025-12-06 20:33:02 -05:00
2026-03-28 09:59:54 -04:00
2024-04-23 18:17:04 +02:00
2024-01-03 02:09:29 +01:00