diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-09-15 11:15:25 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-15 11:15:25 +0800 |
| commit | 1264d1156ce1830af8383d736a3f8bbc2b881563 (patch) | |
| tree | 946995c2d6685ca3ac16291b64e5e031e7276717 /runtime/lua/vim/_editor.lua | |
| parent | e2ab5e1db7fce3d221e986ede4ac5eb7dbcbdd71 (diff) | |
fix(lua): don't leak timer when vim._watch.watch() fails (#35768)
This fixes the following warning in tests with ASAN or TSAN:
-------- Running tests from test/functional/lua/watch_spec.lua
RUN T4253 vim._watch watch() ignores nonexistent paths: 29.00 ms OK
nvim took 2006 milliseconds to exit after last test
This indicates a likely problem with the test even if it passed!
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions
