Commit 7ebc3da
authored
* Prevent dangling GetAttribute calls
It appears possible that there could be a hang due to unread data from the
repo-attribute command pipes. This PR simply closes these during the defer.
Signed-off-by: Andrew Thornton <[email protected]>
* move close into the defer
Signed-off-by: Andrew Thornton <[email protected]>
* lets try again
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 2e36ba0 commit 7ebc3da
File tree
3 files changed
+25
-17
lines changed- modules/git
- services/gitdiff
3 files changed
+25
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
186 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
191 | 196 | | |
192 | | - | |
193 | 197 | | |
194 | 198 | | |
195 | 199 | | |
| |||
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | 236 | | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
| |||
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
209 | | - | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
658 | 659 | | |
659 | 660 | | |
660 | 661 | | |
661 | | - | |
| 662 | + | |
| 663 | + | |
662 | 664 | | |
663 | 665 | | |
664 | | - | |
665 | 666 | | |
666 | 667 | | |
667 | 668 | | |
| |||
942 | 943 | | |
943 | 944 | | |
944 | 945 | | |
945 | | - | |
946 | | - | |
| 946 | + | |
| 947 | + | |
947 | 948 | | |
948 | 949 | | |
949 | 950 | | |
| |||
1420 | 1421 | | |
1421 | 1422 | | |
1422 | 1423 | | |
| 1424 | + | |
1423 | 1425 | | |
1424 | 1426 | | |
1425 | 1427 | | |
| |||
1539 | 1541 | | |
1540 | 1542 | | |
1541 | 1543 | | |
1542 | | - | |
| 1544 | + | |
| 1545 | + | |
1543 | 1546 | | |
1544 | 1547 | | |
1545 | 1548 | | |
0 commit comments