mirror of
https://github.com/neovim/neovim.git
synced 2026-04-01 21:32:10 +00:00
Reported by @fourjay, a codepath that causes event_poll() to run before event_init() will trigger a segfault as the events list will not have been initialized. Exiting immediately from event_init() causes nvim to hang, so just exit before running the events. fixes #2339