MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / cancelAll

Method cancelAll

common/script/scriptuibridge.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void ScriptUiBridge::cancelAll(void)
73{
74 {
75 std::lock_guard<std::mutex> lock(mMutex);
76 mCancelled = true;
77 if (mReq && !mResp) {
78 mResp = UiResponse{};
79 }
80 }
81 mCv.notify_all();
82}
83
84std::string ScriptUiBridge::statusText(void)
85{

Callers 1

requestCancelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected