adas_destroy()

Performs necessary cleanup when the ADAS library is no longer needed

Synopsis:

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

Library:

libadas

Description:

Must be called when done using the library to cleanup any resources allocated by the library. Requires that the user has 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.