mirror of
https://github.com/neovim/neovim.git
synced 2026-10-25 23:20:23 -05: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)