| 1523 | } |
| 1524 | |
| 1525 | void AgentClient::clear_controller_sink() |
| 1526 | { |
| 1527 | LogTrace; |
| 1528 | |
| 1529 | if (reg_ctrl_sink_id_ != MaaInvalidId) { |
| 1530 | if (reg_ctrl_) { |
| 1531 | reg_ctrl_->remove_sink(reg_ctrl_sink_id_); |
| 1532 | } |
| 1533 | reg_ctrl_sink_id_ = MaaInvalidId; |
| 1534 | } |
| 1535 | |
| 1536 | if (reg_ctrl_) { |
| 1537 | reg_ctrl_ = nullptr; |
| 1538 | } |
| 1539 | } |
| 1540 | |
| 1541 | void AgentClient::clear_tasker_sink() |
| 1542 | { |
nothing calls this directly
no test coverage detected