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

Killing a process when an update is pending breaks the update #108

Open
hinerm opened this issue Sep 21, 2023 · 0 comments
Open

Killing a process when an update is pending breaks the update #108

hinerm opened this issue Sep 21, 2023 · 0 comments

Comments

@hinerm
Copy link
Member

hinerm commented Sep 21, 2023

It seems that the update process may have some reliance on a shutdown hook. If you:

  1. launch Fiji from a terminal
  2. download an update (e.g. turn on an update site and download some new resources)
  3. ctrl + c the process from the terminal

re-launching the application does not detect/finalize the pending update. Re-running the updater will warn you that there is a pending update.

My assumption based on this behavior is a shutdown hook is being skipped by ctrl + c but it could be something else. If it is a shutdown hook I'm wondering why that's necessary?

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

No branches or pull requests

1 participant