Skip to content

Commit

Permalink
Merge pull request quarkusio#40661 from mkouba/vertx-test-cl-leak
Browse files Browse the repository at this point in the history
QuarkusUnitTest: clear test method invokers to avoid QuarkusCL leaks
  • Loading branch information
mkouba authored May 15, 2024
2 parents 4c78b89 + 324d744 commit faf6c83
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,9 @@ public void afterAll(ExtensionContext extensionContext) throws Exception {
rootLogger.setHandlers(originalHandlers);
inMemoryLogHandler.clearRecords();
inMemoryLogHandler.setFilter(null);
if (testMethodInvokers != null) {
testMethodInvokers.clear();
}

try {
if (runningQuarkusApplication != null) {
Expand Down

0 comments on commit faf6c83

Please sign in to comment.