-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 3e845c2
Fix: Properly keep the cancellables
DVDRental was stuck in connecting. This was because
the Combine streams were not held onto. Originally
I thought the streams could "self retain", but that
doesn't fly anymore.
So added tokens for
- count query
- range query
- model fetch
And DVDRental seems to be back in a working state.1 parent 4faf1cf commit 3e845c2
File tree
2 files changed
+18
-5
lines changed- Sources/DirectToSwiftUI/ViewModel
2 files changed
+18
-5
lines changedLines changed: 13 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
123 | - | ||
123 | + | ||
124 | + | ||
124 | 125 |
| |
125 | 126 |
| |
126 | 127 |
| |
| |||
138 | 139 |
| |
139 | 140 |
| |
140 | 141 |
| |
142 | + | ||
143 | + | ||
141 | 144 |
| |
142 | 145 |
| |
143 | - | ||
146 | + | ||
144 | 147 |
| |
145 | 148 |
| |
149 | + | ||
146 | 150 |
| |
147 | 151 |
| |
148 | 152 |
| |
| |||
196 | 200 |
| |
197 | 201 |
| |
198 | 202 |
| |
199 | - | ||
203 | + | ||
200 | 204 |
| |
205 | + | ||
206 | + | ||
207 | + | ||
208 | + | ||
209 | + | ||
201 | 210 |
| |
202 | 211 |
| |
203 | 212 |
| |
| |||
242 | 251 |
| |
243 | 252 |
| |
244 | 253 |
| |
245 | - | ||
254 | + | ||
246 | 255 |
| |
247 | 256 |
| |
248 | 257 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | + | ||
47 | + | ||
46 | 48 |
| |
47 | 49 |
| |
48 | 50 |
| |
49 | 51 |
| |
50 | - | ||
52 | + | ||
51 | 53 |
| |
52 | 54 |
| |
53 | 55 |
| |
54 | 56 |
| |
55 | 57 |
| |
56 | 58 |
| |
57 | 59 |
| |
60 | + | ||
58 | 61 |
| |
59 | 62 |
| |
60 | 63 |
| |
| |||
64 | 67 |
| |
65 | 68 |
| |
66 | 69 |
| |
70 | + | ||
67 | 71 |
| |
68 | 72 |
| |
69 | 73 |
|
0 commit comments