Add System.exit#13510
Merged
Merged
Conversation
Member
|
I don't get the problem. We already have shutdown cleanup and stopping of threads. Have you checked with Visual VM what's going on? |
Member
Author
Member
Author
|
On current main (with some tests in CAYW), grizzly is shut down, but something else is not:
|
Member
Author
|
We log to JavaFX - maybe, this is causing troubles: |
Comment on lines
+509
to
+510
| // Just to be sure that we do not leave any threads running | ||
| System.exit(0); |
There was a problem hiding this comment.
Comment merely restates what the code does without providing additional insight into why this approach was chosen or what specific thread issues it addresses.
calixtus
approved these changes
Jul 28, 2025
calixtus
left a comment
Member
There was a problem hiding this comment.
"Und bist du nicht willig, so brauch ich Gewalt!" (Goethe, Der Erlkönig, 1782)
Siedlerchr
added a commit
that referenced
this pull request
Aug 2, 2025
* 'main' of github.com:JabRef/jabref: (26 commits) Change Open AI to Open AI (or API Compatible) (#13608) Remove all assignment tracking labels Updated architecture and components link in CONTRIBUTING.md (#13606) #13301 Fix/unicode reference marks (#13590) Show fetch exception at citation relation (#13549) More jbang caching Sequential run for moving issues Update CSL Styles (#13601) Fix gradle issues (#13603) Add System.exit (#13510) New Crowdin updates (#13600) Automatic lookup DOI at citation information. (#13596) Update heylogs from 0.10.0 to 0.11.1 (#13594) add fallback and reenable defaultcomeslast (#13593) Fix debian vagrant image (#13589) Fix: Replace string "Tests" with "Source Code Tests" in PR Comment (#13587) Fix version for SNAPSHOT (#13581) Update JDK and JavaFX (#13580) Add icon (#13579) Fixes link I broke in PR 13568 (#13577) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


My JabRef had the grizzly threads running on exit. I don't have the time to debug now.
Maybe, in future, there will be other things taking time to properly shut down.
Therfore, I propose to "just" end the JVM so that nothing is left behind by JabRef.
Mandatory checks
CHANGELOG.mddescribed in a way that is understandable for the average user (if change is visible to the user)