Function rs2_context_unload_tracking_module

Function Documentation

void rs2_context_unload_tracking_module(rs2_context *ctx, rs2_error **error)

Removes tracking module. function query_devices() locks the tracking module in the tm_context object. If the tracking module device is not used it should be removed using this function, so that other applications could find it. This function can be used both before the call to query_device() to prevent enabling tracking modules or afterwards to release them.