GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Script Editor cancel/interrupt does not reliably stop a running script · Issue #77 · scijava/script-editor

Script Editor cancel/interrupt does not reliably stop a running script #77

New issue
Copy link
New issue
Copy link
Open
Open
Script Editor cancel/interrupt does not reliably stop a running script#77
Copy link

Description

@hinerm
hinerm
opened on Sep 16, 2026
Issue body actions

When a long-running script is interrupted or killed from the Script Editor, the UI may report that the task was interrupted, but the script continues running. This indicates that the editor’s cancel/kill path does not guarantee actual termination.

The issue is that the caller cannot distinguish between:

  • “interrupt was requested”
  • “the script actually stopped”

As a result, a script may continue executing after the editor reports interruption, and the underlying termination path may throw UnsupportedOperationException or otherwise fail to stop the thread. This makes timeout and cancellation handling unreliable for long-running scripts.

Expected behavior:

  • an interrupt/kill request should either stop the script or clearly report failure
  • callers should be able to tell whether termination actually succeeded
  • cancellation should not be reported as successful if the script remains active

Activity

  1. hinerm
    added a commit that references this issue on Sep 16, 2026

    Improve behavior when termination fails

    6ad5d30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.