Skip to content

Commit d52d37b

Browse files
committed
Remove CDI.destroy call
Signed-off-by: Thiago Henrique Hüpner <[email protected]>
1 parent c33c15f commit d52d37b

File tree

1 file changed

+0
-1
lines changed
  • appserver/microprofile/health/src/main/java/org/glassfish/microprofile/health

1 file changed

+0
-1
lines changed

appserver/microprofile/health/src/main/java/org/glassfish/microprofile/health/HealthReporter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ public void addHealthCheck(String contextName, HealthCheckInfo healthCheck) {
114114

115115
public void removeAllHealthChecksFrom(String contextName) {
116116
List<HealthCheckInfo> healthCheckInfos = applicationHealthChecks.get(contextName);
117-
healthCheckInfos.forEach(healthCheck -> CDI.current().destroy(healthCheck));
118117
applicationHealthChecks.remove(contextName);
119118
}
120119

0 commit comments

Comments
 (0)