diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-11-27 02:26:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 02:26:24 +0100 |
commit | 0653ed63a508f9c8934d4033e1116e5176ff4fc1 (patch) | |
tree | 7bc6ca50659f2e80d0105974a850f9f2f420bc9c /src/nvim/ui_bridge.c | |
parent | 271c5df41603f5427540082a3f8790bca0fd7595 (diff) | |
parent | 7fdb45e0f8b2dfc367067c62e413dd8082d770d5 (diff) | |
download | rneovim-0653ed63a508f9c8934d4033e1116e5176ff4fc1.tar.gz rneovim-0653ed63a508f9c8934d4033e1116e5176ff4fc1.tar.bz2 rneovim-0653ed63a508f9c8934d4033e1116e5176ff4fc1.zip |
Merge #9028 'diff/highlight: low-priority CursorLine'
Diffstat (limited to 'src/nvim/ui_bridge.c')
-rw-r--r-- | src/nvim/ui_bridge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/ui_bridge.c b/src/nvim/ui_bridge.c index ebd4651f4d..bd5d37be73 100644 --- a/src/nvim/ui_bridge.c +++ b/src/nvim/ui_bridge.c @@ -104,7 +104,7 @@ static void ui_thread_run(void *data) static void ui_bridge_stop(UI *b) { - // Detach brigde first, so that "stop" is the last event the TUI loop + // Detach bridge first, so that "stop" is the last event the TUI loop // receives from the main thread. #8041 ui_detach_impl(b); UIBridgeData *bridge = (UIBridgeData *)b; @@ -117,6 +117,7 @@ static void ui_bridge_stop(UI *b) if (stopped) { // -V547 break; } + // TODO(justinmk): Remove this. Use a cond-wait above. #9274 loop_poll_events(&main_loop, 10); // Process one event. } uv_thread_join(&bridge->ui_thread); |