mmr_disconnect()

Disconnect from mm-renderer

Synopsis:

#include <mm/renderer.h>
void mmr_disconnect(mmr_connection_t *connection)

Arguments:

connection
An mm-renderer connection handle

Library:

mmrndclient

Description:

Disconnect from mm-renderer. Close any existing context handles associated with the connection being closed and free their memory. You shouldn't use these handles again, not even to close them. If any of them are primary handles, their contexts also get destroyed.

Note: This function blocks until all associated contexts have been destroyed. It's no longer asynchronous like in past releases.