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

Method requestCancel

common/script/scriptrunner.cpp:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void ScriptRunner::requestCancel(void)
100{
101 if (mState.load() != State::Running) {
102 return;
103 }
104 // Order matters: raise the abort flag first so a script woken by
105 // cancelAll() can't issue another blocking request in between.
106 ckpt_script_abort_request();
107 mBridge.cancelAll();
108}
109
110void ScriptRunner::shutdown(void)
111{

Callers 1

mainFunction · 0.45

Calls 3

cancelAllMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected