Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2395

@Dependent CDI beans are not properly destroyed

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0, 7.1.4, 7.2.0-alpha4
    • Component/s: engine
    • Labels:
      None

      Description

      When using @Dependent scoped CDI beans as tasks or events we need to properly destroy them via Bean<T>#destroy. This will invoke any @PreDestroy methods on those beans and also eventually cleanup all interceptors, decorators and subsequently injected @Dependent scoped beans.

      The same might happen to Spring beans as well, but have not yet checked.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thorben.lindhauer Thorben Lindhauer
              Reporter:
              struberg Mark Struberg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: