Skip to content

Commit fae290c

Browse files
MrToszSiedlerchr
authored andcommitted
Terminate JavaFX thread when running with "nogui" option (#3274)
* Terminate JavaFX thread when running with "nogui" option * Add entry to the changelog
1 parent 85363d0 commit fae290c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
2020

2121
### Fixed
2222
- We fixed an issue where JabRef would not terminated after asking to collect anonymous statistics [#2955 comment](https://github.com/JabRef/jabref/issues/2955#issuecomment-334591123)
23+
- We fixed an issue where JabRef would not shut down when started with the '-n' (No GUI) option.
2324

2425
### Removed
2526

@@ -82,7 +83,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
8283
- We added drag and drop support for adding files directly in the `General`-Tab. The dragged files are currently only linked from their existing directory. For more advanced features use the `Add files` dialog. [#koppor#244](https://github.com/koppor/jabref/issues/244)
8384
- We added the file description filed back to the list of files in the `General`-Tab [#2930, comment](https://github.com/JabRef/jabref/issues/2930#issuecomment-328328172)
8485
- Added an error dialog if the file is open in another process and cannot be renamed. [#3229]
85-
- On Windows, the `JabRef.exe` executable can now be used to start JabRef from the command line. By default, no output is shown unless the new "-console" option is specified.
86+
- On Windows, the `JabRef.exe` executable can now be used to start JabRef from the command line. By default, no output is shown unless the new "-console" option is specified.
8687

8788
### Fixed
8889

src/main/java/org/jabref/JabRefMain.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ private static void start(String[] args) {
138138
// See if we should shut down now
139139
if (argumentProcessor.shouldShutDown()) {
140140
Globals.shutdownThreadPools();
141+
Platform.exit();
141142
return;
142143
}
143144

0 commit comments

Comments
 (0)