Commit be569cf
authored
fix(core): uv_compat cleanup and fixes (#32458)
- split uv_compat into multiple files
- move logic out of run_io into helpers
- avoid holding references across callbacks to prevent violating
aliasing
- add a test suite, this goes through the same JsRuntime event loop
infra as deno
- fix shutdown not waiting for write queue to drain
- use tokio shutdown instead of platform specific code
- fix slightly incorrect phase ordering
- fix some other issues found by claude review
disclosure: large parts done by claude1 parent 1e7a295 commit be569cf
File tree
5 files changed
+2640
-1045
lines changed- libs/core
- runtime
- uv_compat
5 files changed
+2640
-1045
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2164 | 2164 | | |
2165 | 2165 | | |
2166 | 2166 | | |
2167 | | - | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
2168 | 2179 | | |
2169 | 2180 | | |
2170 | 2181 | | |
| |||
2185 | 2196 | | |
2186 | 2197 | | |
2187 | 2198 | | |
2188 | | - | |
2189 | | - | |
2190 | | - | |
2191 | | - | |
2192 | | - | |
2193 | | - | |
2194 | | - | |
2195 | | - | |
2196 | | - | |
2197 | 2199 | | |
| 2200 | + | |
2198 | 2201 | | |
2199 | 2202 | | |
2200 | 2203 | | |
| |||
0 commit comments