From d6ed2b3a39a2b4ea78fe9461b640eeeca53880bf Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Wed, 20 May 2015 08:06:43 -0300 Subject: os/fs: Use module-local uv_loop_t instance This event loop is just a stub instance used in synchronous libuv function calls, it needs to be decoupled from the main event loop in order to run it from another thread. --- src/nvim/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/main.c') diff --git a/src/nvim/main.c b/src/nvim/main.c index e1bb2d0b66..50c16c51d6 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -138,6 +138,7 @@ static const char *err_extra_cmd = /// Needed for unit tests. Must be called after `time_init()`. void early_init(void) { + fs_init(); handle_init(); (void)mb_init(); // init mb_bytelen_tab[] to ones -- cgit