Opened 2 years ago

Closed 2 years ago

#1487799 closed Feature Requests (wontfix)

Plugin garbage collecting

Reported by: rosali Owned by:
Priority: 5 Milestone: 0.6-beta
Component: Plugin API Version: 0.5.1
Severity: normal Keywords:
Cc:

Description

It would be very useful to have a hook in rcube_session:gc to trigger housekeeping routines for plugins.

I'm not sure if this is possible at all. Looking at rcmail class the session handling is initialized before the plugin api. I doubt if this could be changed easily to make the plugin api accessible in rcube_session::gc for adding a hook there.

If it's too complicate, please close this request - Thanks!

Change History (1)

comment:1 Changed 2 years ago by alec

  • Resolution set to wontfix
  • Status changed from new to closed

rcube_session::register_gc_handler() should do what you need.

Note: See TracTickets for help on using tickets.