yr.finalize

Contents

yr.finalize#

yr.finalize() None[source]#

Terminate the system and release the relevant resources.

Note

  1. This interface is used to terminate the Unisound system, releasing created function instances, unreleased data objects and other resources.

  2. finalize must be called after init.

Raises:

RuntimeError – This exception will be thrown if finalize is called without initializing yr.

Returns:

None.

Examples

>>> import yr
>>> conf = yr.Config()
>>> yr.init(conf)
>>> yr.finalize()