Skip to content

Commit

Permalink
Merge pull request #2707 from JabRef/shutdown-duplicates
Browse files Browse the repository at this point in the history
Make sure that JavaFx shuts down in case another JabRef instance is a…
  • Loading branch information
LinusDietz authored Apr 3, 2017
2 parents d1c8569 + ed33a5d commit b455756
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
- The `day` part of the biblatex `date` field is now exported to the corresponding `day` field in MS-Office XML. [#2691](https://github.com/JabRef/jabref/issues/2691)

### Fixed
- We fixed an issue that prevented multiple parallel JabRef instances from terminating gracefully. [#2698](https://github.com/JabRef/jabref/issues/2698)
- We fixed an issue where authors with multiple surnames were not presented correctly in the main table. [#2534](https://github.com/JabRef/jabref/issues/2534)
- Repairs the handling of apostrophes in the LaTeX to unicode conversion. [#2500](https://github.com/JabRef/jabref/issues/2500)
- Fix import of journal title in ris format. [#2506](https://github.com/JabRef/jabref/issues/2506)
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/jabref/JabRefMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ private static void start(String[] args) {
// So we assume it's all taken care of, and quit.
LOGGER.info(Localization.lang("Arguments passed on to running JabRef instance. Shutting down."));
Globals.shutdownThreadPools();
// needed to tell JavaFx to stop
Platform.exit();
return;
}
}
Expand Down

0 comments on commit b455756

Please sign in to comment.