Commit 6951561
committed
fix(gemini-adapter): defer stdout close completion
Resolved the regression where the readline close handler marked Gemini streams as finished before the child process exited, which hid non-zero exit codes. The handler now only finalizes when an abort is already in progress so the exit listener can propagate real CLI failures. Verified via npm run test --workspace examples.1 parent b7f575b commit 6951561
1 file changed
+9
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
263 | 261 | | |
264 | 262 | | |
265 | 263 | | |
| |||
0 commit comments