@Dependent CDI beans are not properly destroyed

XMLWordPrintable

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

      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.

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: