Skip to content

Fix #2336: shutdown is working again#2338

Merged
tobiasdiez merged 10 commits into
masterfrom
fix2336
Dec 4, 2016
Merged

Fix #2336: shutdown is working again#2338
tobiasdiez merged 10 commits into
masterfrom
fix2336

Conversation

@tobiasdiez

Copy link
Copy Markdown
Member

Should fix #2336 (at least it works for me now).
I have no real idea where the problem was but I suspect that sometimes the BackupManager was not registered properly as a listener. Now the backup manager registers itself in the constructor. Moreover, the backup manager is allways initialized although the db may be shared or does not yet have a filepath attached to it.

Other changes are only minor refactorings.

@tobiasdiez tobiasdiez added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Dec 3, 2016

@Siedlerchr Siedlerchr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@obraliar

obraliar commented Dec 4, 2016

Copy link
Copy Markdown
Contributor

LGTM 👍 .

Unfortunately I couldn't find the case which reproduces the bug from #2336 while using Debian Jessie.
However, this solution works for me without any problems.

@tobiasdiez

Copy link
Copy Markdown
Member Author

Thanks for the review!

@tobiasdiez tobiasdiez merged commit f5a2f3b into master Dec 4, 2016
@tobiasdiez tobiasdiez deleted the fix2336 branch December 4, 2016 19:38
Siedlerchr added a commit that referenced this pull request Dec 5, 2016
* upstream/master:
  builds.jabref.org: Keep html files and just remove *.exe, *.dmg, *.jar during upload of a new build
  Fix comment typo
  Fix typos in comments in .travis.yml
  Switch to LGoodDatePicker (#2340)
  Gradle build scans should only run on TravisCI, not on the other CI services
  Try scans.gradle.com
  Remove reference to GPL - we are MIT now
  fix date changes in medline fetcher results
  Fix #2336: shutdown is working again (#2338)

# Conflicts:
#	src/main/java/net/sf/jabref/model/database/BibDatabaseContext.java
Siedlerchr added a commit that referenced this pull request Dec 5, 2016
* upstream/master:
  builds.jabref.org: Keep html files and just remove *.exe, *.dmg, *.jar during upload of a new build
  Fix comment typo
  Fix typos in comments in .travis.yml
  Switch to LGoodDatePicker (#2340)
  Gradle build scans should only run on TravisCI, not on the other CI services
  Try scans.gradle.com
  Remove reference to GPL - we are MIT now
  fix date changes in medline fetcher results
  Fix #2336: shutdown is working again (#2338)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unregistered backup manager prevents shutdown

3 participants