Skip to content

Commit

Permalink
Dont require destroyers to be sortable, to allow for any class setup
Browse files Browse the repository at this point in the history
  • Loading branch information
GedMarc committed Dec 16, 2024
1 parent 1903495 commit 6e517d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ public Set<IGuicePreStartup> loadPreStartupServices()
*/
public Set<IGuicePreDestroy> loadPreDestroyServices()
{
return new TreeSet<>(getLoader(IGuicePreDestroy.class, true, ServiceLoader.load(IGuicePreDestroy.class)));
return new LinkedHashSet<>(getLoader(IGuicePreDestroy.class, true, ServiceLoader.load(IGuicePreDestroy.class)));
}

/**
Expand Down

0 comments on commit 6e517d1

Please sign in to comment.