shutdown hook for plugins
|Reported by:||Owned by:|
|Severity:||major||Keywords:||environment startup shutdown needmajor|
In a plugin, I'd like to create persistent connections somewhere (to a database, or a pipe to talk to another program, whatever) when trac starts (or my plugin is used for the first time), and close that connection again when trac ends, regardless of the reason why trac shuts down.
There could be an extension point resp. interface for the plugin to implement, that contains a shutdown() method.
Change History (23)
comment:19 by , 12 years ago
|Milestone:||0.11-retriage → 1.0|
|Priority:||normal → high|
|Severity:||normal → major|