onCleanup(action: ()=>void): void
Cleanup function to run when quit() is called.
param
action- The function to run when the event is triggered.
since
v3000.0
Cleanup function to run when quit() is called.
param
action- The function to run when the event is triggered.
since
v3000.0