MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / application_update_cancel_locked

Function application_update_cancel_locked

src/daemon/application.c:2133–2142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2131}
2132
2133static void application_update_cancel_locked(cbm_daemon_application_t *application) {
2134 if (!application->update_generation_started || application->update_thread_done) {
2135 return;
2136 }
2137 application->update_cancel_requested = true;
2138 if (application->update_worker) {
2139 (void)application->update_ops.cancel(application->update_ops.context,
2140 application->update_worker);
2141 }
2142}
2143
2144static bool application_update_owner_release_locked(cbm_daemon_application_session_t *session) {
2145 if (!session || !session->update_owner) {

Calls 1

cancelMethod · 0.80

Tested by

no test coverage detected