diff options
Diffstat (limited to 'src/nvim/os/event.c')
-rw-r--r-- | src/nvim/os/event.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/os/event.c b/src/nvim/os/event.c index 45ea8f28b5..9a15bf92d0 100644 --- a/src/nvim/os/event.c +++ b/src/nvim/os/event.c @@ -54,7 +54,6 @@ void event_init(void) wstream_init(); // Initialize input events input_init(); - input_start(); // Timer to wake the event loop if a timeout argument is passed to // `event_poll` // Signals @@ -75,13 +74,11 @@ void event_teardown(void) process_events_from(immediate_events); process_events_from(deferred_events); - + input_stop_stdin(); channel_teardown(); job_teardown(); server_teardown(); signal_teardown(); - input_stop(); - input_teardown(); // this last `uv_run` will return after all handles are stopped, it will // also take care of finishing any uv_close calls made by other *_teardown // functions. |