code: protected void releaseManagedObjectContext() {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "releaseManagedObjectContext : " + ivEjbManagedObjectContext);
          if (ivEjbManagedObjectContext != null) {
              ivEjbManagedObjectContext.release();
          }
      }
docs: Needs to be called for every SessionBean as it goes out of service
  (i.e destroyed or discarded). This cleans up all the dependent CDI
  beans injected into the EJB instance and the corresponding interceptor
  instances. <p>
  
  If this is NOT called and JCDI injection was performed, there WILL be
  a memory leak. <p>