Commit 7090c1b
committed
Rework the way jobs are run so that everything happens in one callback,
which means thrown exceptions propagate properly and will cancel ongoing
jobs. Also, the state machine is much cleaner.1 parent 563babc commit 7090c1b
File tree
6 files changed
+167
-159
lines changed- src/gui2
6 files changed
+167
-159
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| |||
147 | 146 | | |
148 | 147 | | |
149 | 148 | | |
150 | | - | |
151 | 149 | | |
152 | 150 | | |
153 | 151 | | |
| |||
185 | 183 | | |
186 | 184 | | |
187 | 185 | | |
188 | | - | |
189 | 186 | | |
190 | | - | |
191 | | - | |
192 | 187 | | |
193 | 188 | | |
194 | 189 | | |
| |||
234 | 229 | | |
235 | 230 | | |
236 | 231 | | |
237 | | - | |
238 | 232 | | |
239 | | - | |
240 | | - | |
241 | 233 | | |
242 | 234 | | |
243 | 235 | | |
| |||
260 | 252 | | |
261 | 253 | | |
262 | 254 | | |
263 | | - | |
264 | 255 | | |
265 | | - | |
266 | | - | |
267 | 256 | | |
268 | 257 | | |
269 | 258 | | |
| |||
325 | 314 | | |
326 | 315 | | |
327 | 316 | | |
328 | | - | |
| 317 | + | |
329 | 318 | | |
330 | 319 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | | - | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
0 commit comments