Register exit function
)
func
The function to call
*args
Arguments to pass to the function
When Vizard exits the function will be called.
None