Commit 257b36e
committed
fix: emit abort event and cancel existing mock streams
- Emit stream-abort event when stopping mock streams to mirror real streaming behavior
- Cancel any existing stream before starting a new one to prevent timer corruption
- Addresses Codex review comments about mock stream lifecycle management
Change-Id: I0a95493aa15dc0eda71a5c31b09b3844eeaf8187
Signed-off-by: Thomas Kosiewski <tk@coder.com>1 parent 3825a2a commit 257b36e
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
46 | 57 | | |
47 | 58 | | |
48 | 59 | | |
| |||
91 | 102 | | |
92 | 103 | | |
93 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
94 | 110 | | |
95 | 111 | | |
96 | 112 | | |
| |||
0 commit comments