-
Notifications
You must be signed in to change notification settings - Fork 1.3k
seperate ark/spring shutdown #817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #817 +/- ##
============================================
- Coverage 71.33% 71.11% -0.22%
Complexity 32 32
============================================
Files 297 297
Lines 8382 8399 +17
Branches 1160 1162 +2
============================================
- Hits 5979 5973 -6
- Misses 1727 1750 +23
Partials 676 676
Continue to review full report at Codecov.
|
@@ -86,7 +88,23 @@ public int size() { | |||
@Override | |||
public void shutdown() { | |||
List<ComponentInfo> elems = new ArrayList<>(registry.values()); | |||
< 8000 td data-line-number="91" class="blob-num blob-num-addition"> | // shutdown spring contexts first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should shutdown spring context after other component unregistering because e.g., ServiceComponents are beans ultimately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
plz fire an issue and refer to it |
don't delete DefaultRuntimeShutdownAware directly, annotate it with @deprecated and scheduled to remove in 3.9.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.