Skip to content

Commit

Permalink
Novel idea: actually implement close method to tidy up classloaders t…
Browse files Browse the repository at this point in the history
…o try and avoid memory leaks
  • Loading branch information
holly-cummins committed Jan 21, 2025
1 parent a9ef435 commit 632914f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,9 @@ public String getName() {

@Override
public void close() {
// TODO clearly, an implementation is needed!

for (CuratedApplication curatedApplication : curatedApplications.values()) {
curatedApplication.close();
}
}

public void setProfiles(Map<String, String> profiles) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ public QuarkusTestProfileAwareClassOrderer() {

@Override
public void orderClasses(ClassOrdererContext context) {
System.out.println("HOLLY YUP YUP ordering classes");
// don't do anything if there is just one test class or the current order request is for @Nested tests
if (context.getClassDescriptors()
.size() <= 1 || context.getClassDescriptors()
Expand Down

0 comments on commit 632914f

Please sign in to comment.