yr.finalize#
- yr.finalize() None[source]#
Terminate the system and release the relevant resources.
Note
This interface is used to terminate the Unisound system, releasing created function instances, unreleased data objects and other resources.
finalizemust be called afterinit.
- Raises:
RuntimeError – This exception will be thrown if
finalizeis called without initializingyr.- Returns:
None.
Examples
>>> import yr >>> conf = yr.Config() >>> yr.init(conf) >>> yr.finalize()