| 94 | } |
| 95 | |
| 96 | void ControllerImpl::remove_sink(MaaSinkId id) |
| 97 | { |
| 98 | if (auto it = sinks.find(id); it != sinks.end()) { |
| 99 | MaaControllerRemoveSink(controller, id); |
| 100 | delete it->second; |
| 101 | sinks.erase(it); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | void ControllerImpl::clear_sinks() |
| 106 | { |
nothing calls this directly
no test coverage detected