]> git.ardis.lu - csvio/commit
Add cleanup on abort
authorArdis Lu <ardisglu@gmail.com>
Sun, 9 Feb 2025 06:03:39 +0000 (22:03 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sun, 9 Feb 2025 06:03:39 +0000 (22:03 -0800)
commit6f1c302ff325a8bfca461169a55724cfb3dd5fab
tree1989c1539e1a8dc7fa344b9928992812bee30805
parent10339b5f01fc61905513b62f2061b2883decad85
Add cleanup on abort

`close()` is NOT called if CSVWriter errors, only `abort()`. So need to call `close()` within `abort()` to finish cleanup.
src/core.js
test/core.test.js
This page took 0.036714 seconds and 4 git commands to generate.