Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-314

CDIInjectionEnricher does not release the creationalContext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.CR1
    • 1.0.0.Alpha4
    • Weld Containers
    • None
    • Hide

      Inject an @Dependent object that is produced, and ensure it's disposer is called when the test case is complete.

      Show
      Inject an @Dependent object that is produced, and ensure it's disposer is called when the test case is complete.
    • Hide

      Don't inject @Dependent objects.

      Show
      Don't inject @Dependent objects.

      In order for Weld to properly clean up injected dependent objects (such as calling the @PreDestroy or @Disposes method), it is important that creationalContext.release() is called when the scope of the test ends.

              aslak@redhat.com Aslak Knutsen
              pmuiratbleepbleep Pete Muir (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: