Skip to content
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

Terminate JavaFX thread when running with "nogui" option #3274

Merged
merged 2 commits into from
Oct 7, 2017

Conversation

MrTosz
Copy link
Contributor

@MrTosz MrTosz commented Oct 6, 2017

Fix for Issue #3247

When JabRef was run with the '-n' parameter, i.e. the "No GUI" option, like:
java -jar JabRef.jar -n
or any other reason for ArgumentProcessor#shouldShutDown() returning true took place, the application should shut down after performing custom export filters etc. However, Platform.exit() wasn't called, so the JavaFX thread kept running indefinitely. Simply added this call to resolve the problem.

@Siedlerchr
Copy link
Member

Thanks for your contribution, would you be so kind to add a changelog entry?
Then we can merge

Copy link
Member

@lenhard lenhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. All that's needed is a changelog entry and then this is good to go,

@MrTosz
Copy link
Contributor Author

MrTosz commented Oct 7, 2017

Sorry for omitting the changelog entry -- I wasn't sure if such fix qualified for a mention there. Will add it in a moment.

@Siedlerchr
Copy link
Member

@MrTosz Thanks! The rule is simple: If it didn't work/has not been present in the version before, than we add a changelog entry. We are looking forward to more contributions from you!
I now merge your changes it.

@Siedlerchr Siedlerchr merged commit fae290c into JabRef:master Oct 7, 2017
Siedlerchr added a commit that referenced this pull request Oct 19, 2017
* upstream/master:
  Set WM_CLASS to org-jabref-JabRefMain (#3273)
  Terminate JavaFX thread when running with "nogui" option (#3274)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants