Smart client disconnect message ?

Is there a possibility, to get informed immediately in a smart client plugin, if the smart client user logs out ? (Clicking on the little key in the title bar)

Our plugin gets the shutdown information about 5 seconds after the disconnect click from the user and takes actions in this period of time, which lead to exceptions.

This page might explain it to you, please read this.

https://doc.developer.milestonesys.com/html/index.html?base=reference/architecture/class_life_cycle.html&tree=tree_1.html

Thank you very much, that helped a lot ! I now use the close event of the background plugin. This comes immediately after the click on the logoff key.