I am running a GP tool that takes some time from a button on Dockpane.
If the user close the Dockpane with the X (or any cancel button) I would like the GP tool to be canceled.
I still would like to use GPThread flag (or any other way that does not block the application)
What will be the best way to do it?
Â
Happy holidays 🙂Â