mirror of
https://github.com/neovim/neovim.git
synced 2026-06-16 00:31:16 +00:00
Problem: Destroying a terminal with pending `TermRequest` events leaks
memory.
Solution: Make `emit_termrequest` the sole owner of its `pending_send`
allocation.
(cherry picked from commit 19ef632dec)