Shiny Language Reference

Language Reference > Handler Reference


ShutdownEnd

 

 

Called immediately before the plugin unload is complete

This is the last handler called in the life of the plugin. When this handler returns the Virtual Machine will destroy the plugin and remove it from the virtual environment. You should perform any final cleanup here, as no other code will be executed once this handler returns.

The handler call order is as follows:

Shutdown -> PreRegWrite -> RegWrite -> PostRegWrite -> ShutdownEnd
Shutdown -> PreRegWrite -> PostRegWriteFail -> ShutdownEnd

 

Parameters

None