add Ending Listener
Adds a listener that will run when the script ends. This is useful for cleanup tasks.
Parameters
listener
the script end listener
Adds a listener that will run when the script ends. This is useful for cleanup tasks.
the script end listener