Skip to content
Snippets Groups Projects
  • Michael Hamann's avatar
    8cb3706d
    Fix nested triggering of the same event · 8cb3706d
    Michael Hamann authored
    Previously when in an event handler the same event was triggered again,
    only the handlers for the second event invocation were all executed, the
    handling of the "outer" event stopped after the handling of the inner
    event as they both used the same iterator of the hooks array. This
    caused caching bugs e.g. when both the include and the indexmenu plugin
    were enabled as both of them load metadata in the cache handler which
    triggers another renderer cache event.
    8cb3706d
    History
    Fix nested triggering of the same event
    Michael Hamann authored
    Previously when in an event handler the same event was triggered again,
    only the handlers for the second event invocation were all executed, the
    handling of the "outer" event stopped after the handling of the inner
    event as they both used the same iterator of the hooks array. This
    caused caching bugs e.g. when both the include and the indexmenu plugin
    were enabled as both of them load metadata in the cache handler which
    triggers another renderer cache event.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.