Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 3731 by Make it possible to selectively activate and deactivate ExtensionHooks

*** For customer support, please post to
*** If you have a patch, please submit it to
*** Do not post confidential information in this enhancement request!

What version are you running?


What's the URL of the page this enhancement relates to, if any?


Describe the enhancement and the motivation for it.

We have a rather complicated extension, and there are bits of it that we'll be able to turn on and off in the configuration page for the extension. It'd be nice if we could make it simple to take a series of ExtensionHooks and disable them, and then re-enable them when later. Right now, I believe if an ExtensionHook has had shutdown called on it before an extension shuts down, the hook will not be removed from the Extension's hook set. If the Extension shuts down, it will attempt to shutdown an already shutdown ExtensionHook, and I believe that will cause an assertion failure (shutdown asserts that self.initialized is True).

There's also not a great way to turn the ExtensionHook back on once shutdown.

What operating system are you using? What browser?

OS X 10.9, Firefox 38

Please provide any additional information below.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to