adas_destroy()

Perform cleanup when the ADAS library is no longer needed

Synopsis:

#include <adas/adas_api.h>
adas_error_t adas_destroy(void)

Library:

libadas

Description:

This function must be called when you're done using the library, to clean up any resources allocated by it. You must have called adas_initialize() previously. It is safe to call adas_initialize() again on return of this function.

Returns:

ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.