Skip to content

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

Open
@hinerm

Description

@hinerm

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions