Commit 1c7b2a1
committed
Add close() method to ReorgAwareStream and remove unnecessary hasattr checks
- Add explicit close() method to ReorgAwareStream for proper stream cleanup
on reorg restart (fixes resource leak)
- Remove hasattr check in client.py since both StreamingResultIterator and
ReorgAwareStream have close()1 parent 1a2a6f7 commit 1c7b2a1
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
841 | | - | |
842 | | - | |
843 | | - | |
| 841 | + | |
844 | 842 | | |
845 | 843 | | |
846 | 844 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
184 | 188 | | |
185 | | - | |
186 | 189 | | |
187 | 190 | | |
0 commit comments