disable() not called on daemon shutdown

Suggest, post, or discuss plugins for Deluge
Post Reply
ctrl
New User
New User
Posts: 5
Joined: Sat Jan 21, 2012 4:34 pm

disable() not called on daemon shutdown

Post by ctrl »

Hi, I wrote a dummy plugin tracking calls to enable() and disable(). I can see enable being called on daemon startup and whenever I re-enable the plugin, but disable is only called when plugin is disabled, not when daemon is stopped as stated in the plugin wiki: "disable() - This method is called when the plugin is disabled, either by the user or by exiting the program."

Is this intentional (and the wiki wrong)? Can I be notified when deluge-daemon is gracefully stopped?
Post Reply