diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2025-03-24 17:48:19 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2025-03-24 17:48:19 +0100 |
commit | c49162be595852c04c56c14a1997e25ac69b7312 (patch) | |
tree | 0b3b171de077afad2e08fe8b5965667d8ea82c8e /runtime/lua/vim | |
parent | e73a3f1edc3ea9fe990a58f4269269c2d51fcff8 (diff) | |
download | rneovim-c49162be595852c04c56c14a1997e25ac69b7312.tar.gz rneovim-c49162be595852c04c56c14a1997e25ac69b7312.tar.bz2 rneovim-c49162be595852c04c56c14a1997e25ac69b7312.zip |
fix(channel): log after (not before) channel-close
Problem:
chan_close_on_err() writes to the log file before peforming its actual
work. This could be slightly misleading in terms of log timestamps, or
could delay important work on Windows where file-open/write can be slow.
Solution:
Log after closing the channel, instead of before.
Diffstat (limited to 'runtime/lua/vim')
0 files changed, 0 insertions, 0 deletions