API Documentation > CorelDRAW > 2025-v26 > ICUIBackgroundTask
ICUIBackgroundTask.QuitTask method
Called if you choose to Quit the task. Do not call this yourself. If you want to support async task Removal, you need to handle this. May be called from a different thread than RunTask is running in.
Syntax:
Sub QuitTask()