| 671 | } |
| 672 | |
| 673 | void Plugin::detach_connection(RPCService *svc) |
| 674 | { |
| 675 | int idx = linear_index(services, svc); |
| 676 | |
| 677 | assert(svc->holder == this && idx >= 0); |
| 678 | |
| 679 | vector_erase_at(services, idx); |
| 680 | access->lock_sub(); |
| 681 | } |
| 682 | |
| 683 | Plugin::plugin_state Plugin::getState() const |
| 684 | { |
no test coverage detected