Commit af0fcfa
Use gunzipSync to avoid uncaught async zlib errors
Node's async zlib.gunzip creates C++ handles that can fire errors
after JS listeners are removed during teardown. gunzipSync completes
immediately with no lingering handles.
See nodejs/node#62325, nodejs/node#61202, nodejs/node#43868
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent 2a6c5e9 commit af0fcfa
3 files changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
83 | 80 | | |
84 | 81 | | |
85 | 82 | | |
| |||
Binary file not shown.
Binary file not shown.
0 commit comments