For an overview, see the Edge Client page.
MCO_RET mco_edge_stop();
Shuts down the edge runtime and releases global resources, analogous to mco_runtime_stop().
This function should be called once at application exit to ensure proper cleanup of internal structures, ring buffers, and network connections. It gracefully terminates background synchronization threads and flushes any pending data before releasing allocated memory. Calling it explicitly is highly recommended to prevent resource leaks, especially in long-running or multithreaded environments.
MCO_S_OK