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

Function MaaAgentClientDestroy

source/MaaAgentClient/API/MaaAgentClient.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void MaaAgentClientDestroy(MaaAgentClient* client)
34{
35 LogFunc << VAR_VOIDP(client);
36
37 if (client == nullptr) {
38 LogError << "handle is null";
39 return;
40 }
41
42 delete client;
43}
44
45MaaBool MaaAgentClientIdentifier(MaaAgentClient* client, MaaStringBuffer* identifier)
46{

Callers 3

mainFunction · 0.85
destroyMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected