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

Method check_stop

source/MaaFramework/Resource/ResourceMgr.cpp:736–749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734}
735
736bool ResourceMgr::check_stop()
737{
738 if (!need_to_stop_) {
739 return true;
740 }
741
742 if (running()) {
743 LogError << "stopping, ignore new post";
744 return false;
745 }
746
747 need_to_stop_ = false;
748 return true;
749}
750
751std::optional<json::object> ResourceMgr::get_default_recognition_param(const std::string& reco_type) const
752{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected