aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-09-01 09:56:40 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-09-06 09:18:52 -0300
commit2a0ff9f5cf0064576fc295aa5bfb895cbc77896a (patch)
tree2302c0d49265522977bf780b5ee140db6c21a0bc /src/nvim/main.c
parent9ec240e03fb81f9d9476cf413556ede2c8a6092b (diff)
downloadrneovim-2a0ff9f5cf0064576fc295aa5bfb895cbc77896a.tar.gz
rneovim-2a0ff9f5cf0064576fc295aa5bfb895cbc77896a.tar.bz2
rneovim-2a0ff9f5cf0064576fc295aa5bfb895cbc77896a.zip
log: Make logging thread-safe
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 3e096ee190..dd2b813b1c 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -177,6 +177,7 @@ void event_teardown(void)
/// Needed for unit tests. Must be called after `time_init()`.
void early_init(void)
{
+ log_init();
fs_init();
handle_init();