| 368 | |
| 369 | |
| 370 | void check_close(proton::link &l) { |
| 371 | if (had_receiver && had_sender) { |
| 372 | l.connection().close(); |
| 373 | listener.stop(); |
| 374 | } |
| 375 | } |
| 376 | |
| 377 | void on_receiver_open(proton::receiver &l) override { |
| 378 | had_receiver = true; |
nothing calls this directly
no test coverage detected