Faster plugin shutdown
Rather than using time.sleep(delay)
in the plugin's loop()
, we can use the existing self.shutdown_flag.wait(delay)
. This allows the sleeping thread to be immediately interrupted when shutting down.
I already tested this, but I want to merge !9 (merged) before starting a branch for this. Once that is merged, I will push these changes.
Edited by David G. Martin IV