mirror of
https://github.com/neovim/neovim.git
synced 2026-02-10 22:08:46 +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