Shiny Language Reference

Language Reference > Handler Reference


PreRegWrite

 

 

Called on plugin shutdown to signify the plugin settings will be written to the registry profile

This handler is called immediately after the Shutdown handler. Its purpose is to notify the plugin that shutdown (plugin unload) has begun and the next action will be to write the registry profile. Therefore this is the last opportunity to make any changes to the plugin setup (specifically the panel functions) before the settings are written and the plugin is unloaded.

The handler call order is as follows:

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

 

Parameters

None