Commit 269ddf9
Eric Wheeler
fix: avoid duplicate terminal output accumulation
Optimize terminal output handling to reduce memory pressure by:
- Remove continuous result accumulation during line processing
- Only store the same final output from the "completed" event that came from TerminalProcess
Also:
- Add clear error messages for undefined exit details
Signed-off-by: Eric Wheeler <[email protected]>1 parent 5be49e1 commit 269ddf9
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
966 | 966 | | |
967 | 967 | | |
968 | 968 | | |
969 | | - | |
970 | 969 | | |
971 | | - | |
972 | 970 | | |
973 | 971 | | |
974 | 972 | | |
| |||
977 | 975 | | |
978 | 976 | | |
979 | 977 | | |
| 978 | + | |
980 | 979 | | |
981 | 980 | | |
982 | 981 | | |
983 | | - | |
| 982 | + | |
984 | 983 | | |
985 | 984 | | |
986 | 985 | | |
| |||
1014 | 1013 | | |
1015 | 1014 | | |
1016 | 1015 | | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
| 1016 | + | |
| 1017 | + | |
1021 | 1018 | | |
1022 | 1019 | | |
1023 | 1020 | | |
| |||
1030 | 1027 | | |
1031 | 1028 | | |
1032 | 1029 | | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
| |||
0 commit comments