MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / clear_sinks

Method clear_sinks

source/binding/NodeJS/src/apis/controller.cpp:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void ControllerImpl::clear_sinks()
106{
107 MaaControllerClearSinks(controller);
108 for (const auto& [_, ctx] : sinks) {
109 delete ctx;
110 }
111 sinks.clear();
112}
113
114void ControllerImpl::set_screenshot_target_long_side(int32_t value)
115{

Callers

nothing calls this directly

Calls 2

MaaControllerClearSinksFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected