You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a39ea79
Browse filesBrowse the repository at this point in the historyBrowse files
Replace Thread.stop() reliance in Executer.obliterate()
hread.stop() throws UnsupportedOperationException since JDK 20, so
killing a script logged a stack trace per thread and only interrupted
(when anything at all). Now:
- Interrupt all threads of the executer (deduplicated), then try stop()
only on threads still alive, giving up on the first
UnsupportedOperationException
- After a 1s grace period, report threads that are still running
(script name included, wrapper thread labeled "runner") in the error
screen and in the status bar, with a new error icon
- Refresh the Kill menu and window title after obliterate(), since the
wrapper thread's finally block may never run if it survives
- showTemporaryStatus() accepts an optional icon, and always clears the
icon of a previous message
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
0 commit comments