This repository was archived by the owner on Jul 5, 2026. It is now read-only.
Commit c0b6be8
jakub.pawlowski
Eliminate the possibilty of invoking callback twice.
In a very specific case, when `callback` function passed to `getJson` would throw exception, it would be called again from inside `catch` clause.1 parent 1a41d23 commit c0b6be8
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | | - | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
272 | 274 | | |
273 | 275 | | |
274 | 276 | | |
| 277 | + | |
275 | 278 | | |
276 | | - | |
277 | | - | |
| 279 | + | |
278 | 280 | | |
| 281 | + | |
279 | 282 | | |
280 | 283 | | |
| 284 | + | |
281 | 285 | | |
282 | 286 | | |
283 | 287 | | |
| |||
0 commit comments