Quit plugin too as Studio quits
Alessandro Mastronardi
Posts: 2,621
I'd like to know if there is a function in the SDK that is able to intercept if the user is closing Studio.
I ask this because I am able to quit Studio and have the plugin still running, while I'd like to intercept the call to Studio closing, so that the user is prompted to close the plugin first etc.
Thanks for any help.
Comments
Does the DzApp.closing() signal not work for that?
Thanks, will try that, but isn't related to the plugin window itself, rather than to the Studio one?
It's an App signal, and as I read it it is sent when the main event loop for the app closes out. Of course that may be too late to be of use, but it looked somewhat promising.