aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-02 20:23:42 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-02 20:23:42 -0300
commit5a52bcfa22f83278928d18898cb1df0b3d1a00d9 (patch)
tree0d92e2b6dfc6bc721ffbd4afcde29081b3eef156 /src/nvim/os_unix.c
parent48847fbafc41d93bbc42d7bf5711a47c4982e08c (diff)
parent75a5674cd2d0921400d2d2c7a9ce9701c58c5b25 (diff)
downloadrneovim-5a52bcfa22f83278928d18898cb1df0b3d1a00d9.tar.gz
rneovim-5a52bcfa22f83278928d18898cb1df0b3d1a00d9.tar.bz2
rneovim-5a52bcfa22f83278928d18898cb1df0b3d1a00d9.zip
Merge PR #1369 'Assert libuv event loop is properly cleaned up'
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r--src/nvim/os_unix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c
index 0ad15bc433..8ab61045dc 100644
--- a/src/nvim/os_unix.c
+++ b/src/nvim/os_unix.c
@@ -522,8 +522,6 @@ void mch_exit(int r)
{
exiting = TRUE;
- event_teardown();
-
{
settmode(TMODE_COOK);
mch_restore_title(3); /* restore xterm title and icon name */
@@ -559,7 +557,7 @@ void mch_exit(int r)
mac_conv_cleanup();
#endif
-
+ event_teardown();
#ifdef EXITFREE
free_all_mem();