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

Method handle_stop_app

source/MaaFramework/Controller/ControllerAgent.cpp:821–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

819}
820
821bool ControllerAgent::handle_stop_app(const AppParam& param)
822{
823 if (!control_unit_) {
824 LogError << "control_unit_ is nullptr";
825 return false;
826 }
827
828 bool ret = control_unit_->stop_app(param.package);
829
830 return ret;
831}
832
833bool ControllerAgent::handle_key_down(const ClickKeyParam& param)
834{

Callers

nothing calls this directly

Calls 1

stop_appMethod · 0.65

Tested by

no test coverage detected