Posted March 12, 20169 yr Hello, It seems that the method "public override void PluginUnloaded()" is not invoked as the Pulseway service is restarted or stopped. I think it should be. Kind regards, Guy
March 14, 20169 yr Staff Hi Guy, The PluginUnloaded method is called when you remove the plugin from the Pulseway agent while the service is running. This is generally used to stop any services / timers you've started and run your custom uninstall logic. Why do you require that the method should be called during a service restart or shutdown? Chris
March 22, 20169 yr Author As the PluginUnloaded is the recommended place for "cleanup procedures" (https://www.pulseway.com/api/clientnet/interface) I thought it would be logical these "cleanup procedures" should be run in every circumstances the plugin is stopped. I can live without that ;-) Best regards, Guy
Create an account or sign in to comment