This method should only be called before exiting the program, because HAPI can no longer be used by the process once this method has been called.
Usage ¶
shutdown(session
: hapi.Session) → bool
When using an in-process session, this method **must** be called in order for the host process to shutdown cleanly. This method should be called before hapi.closeSession.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.