The function is required to be called when program does not need ODE features any more.
The call to @c dCloseODE releases all the resources allocated for library
including all the thread local data that might be allocated for all the threads
that were using ODE.
@c dCloseODE is a paired function for @c dInitODE2 and must only be called
after successful library initialization.
@note Important!
Make sure that all the threads that were using ODE have already terminated
before calling @c dCloseODE. In particular it is not allowed to call
@c dCleanupODEAllDataForThread after @c dCloseODE.
@brief Close ODE after it is not needed any more.
The function is required to be called when program does not need ODE features any more. The call to @c dCloseODE releases all the resources allocated for library including all the thread local data that might be allocated for all the threads that were using ODE.
@c dCloseODE is a paired function for @c dInitODE2 and must only be called after successful library initialization.
@note Important! Make sure that all the threads that were using ODE have already terminated before calling @c dCloseODE. In particular it is not allowed to call @c dCleanupODEAllDataForThread after @c dCloseODE.
@see dInitODE2 @see dCleanupODEAllDataForThread @ingroup init