mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 12:08:33 +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