Closed robertpanzer closed 7 years ago
Some CDI tests destroy CDI managed beans retrieved from an Instance at the wrong Instance, so that TomEE/OWB throws a NullPointerException. This PR fixes this by destroying the beans at the Instances where they were got from.
Looks good, sorry that this had been left open for such a long time.
Some CDI tests destroy CDI managed beans retrieved from an Instance at the wrong Instance, so that TomEE/OWB throws a NullPointerException. This PR fixes this by destroying the beans at the Instances where they were got from.