Skip to content

Document multiple engines and plugin instances in plugin development docs #150855

@stuartmorgan-g

Description

@stuartmorgan-g

We should explicitly document somewhere in the plugin-author-facing docs (probably here or here) that plugins need to be prepared to handle the case where they are running in an application with multiple engine instances, which can mean that multiple instances of the plugin class are created, each with their own lifetimes.

See #150674 and #150674 for cases where this has caused confusion in the past.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: pluginsSupport for writing, building, and running plugin packagesteam-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions