Skip to content

Commit

Permalink
Merge pull request #639 from avaje/feature/destroyPriority
Browse files Browse the repository at this point in the history
Use destroyPriority() default as 1000
  • Loading branch information
SentryMan authored Jul 7, 2024
2 parents 519b3e5 + 70ae1da commit 71bc173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inject/src/main/java/io/avaje/inject/Bean.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* <p>
* Low values execute earlier than high values.
*/
int destroyPriority() default 0;
int destroyPriority() default 1000;

/**
* Specify that the concrete instance of the bean is an AutoCloseable. Use if the bean interface
Expand Down

0 comments on commit 71bc173

Please sign in to comment.