Commit 2d4b290
authored
Don't fail on cancellation (#1415)
Motivation:
Cancellation should not throw if the RPC has already been cancelled.
Modifications:
- Don't fail a cancellation promise if the call has not yet been started
or has already been cancelled.
Result:
Cancellation does not fail.1 parent 0981d4d commit 2d4b290
File tree
3 files changed
+4
-6
lines changed- Sources/GRPC
- ClientCalls
- Interceptor
- Tests/GRPCTests
3 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
| 311 | + | |
| 312 | + | |
315 | 313 | | |
316 | 314 | | |
317 | 315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments