<pclass="level0">Cleans up and removes a whole multi stack. It does not free or touch any individual easy handles in any way - they still need to be closed individually, using the usual <aclass="emphasis"href="./curl_easy_cleanup.html">curl_easy_cleanup(3)</a> way. The order of cleaning up should be:
<pclass="level0">1 - <aclass="emphasis"href="./curl_multi_remove_handle.html">curl_multi_remove_handle(3)</a> before any easy handles are cleaned up
<pclass="level0">2 - <aclass="emphasis"href="./curl_easy_cleanup.html">curl_easy_cleanup(3)</a> can now be called independently since the easy handle is no longer connected to the multi handle
<pclass="level0">3 - <aclass="emphasis"href="./curl_multi_cleanup.html">curl_multi_cleanup(3)</a> should be called when all easy handles are removed <aname="RETURN"></a><h2class="nroffsh">RETURN VALUE</h2>
<pclass="level0">CURLMcode type, general libcurl multi interface error code. <aname="SEE"></a><h2class="nroffsh">SEE ALSO</h2>