Commit 61de697
committed
Merge #273: proxy-client: tolerate exceptions from remote destroy during cleanup
6de92e1 proxy-client: tolerate exceptions from remote destroy during cleanup (xyzconstant)
90be835 test: regression for ~ProxyClient destroy after peer disconnect (xyzconstant)
Pull request description:
Fixes #219.
Catches exceptions from `Sub::destroy(*this)` in `~ProxyClientBase`'s cleanup lambda so a failed remote destroy call doesn't crash the process. Regression test included.
ACKs for top commit:
ryanofsky:
Code review ACK 6de92e1. Nice fix and test.
enirox001:
Code review ACK 6de92e1.
Tree-SHA512: 1b588670503d339b528d16fd14345243d7c4da0d9714360b43f5c8d92da89387b90f9fab817317603f2ae9c8b1c6eadfb9112fb3cc8f55bf240be13539b41bcf2 files changed
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
543 | 548 | | |
544 | 549 | | |
545 | 550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
437 | 463 | | |
438 | 464 | | |
439 | 465 | | |
| |||
0 commit comments