guyvaio Posted March 12, 2016 Share Posted March 12, 2016 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 Link to comment Share on other sites More sharing options...
Staff Chris Posted March 14, 2016 Staff Share Posted March 14, 2016 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 Link to comment Share on other sites More sharing options...
guyvaio Posted March 22, 2016 Author Share Posted March 22, 2016 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now