Quit plugin too as Studio quits

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

  • Richard HaseltineRichard Haseltine Posts: 101,482
    edited December 1969

    Does the DzApp.closing() signal not work for that?

  • Alessandro MastronardiAlessandro Mastronardi Posts: 2,621
    edited December 1969

    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?

  • Richard HaseltineRichard Haseltine Posts: 101,482
    edited December 1969

    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.

Sign In or Register to comment.