Skip to content

Graceful shutdown (#1274) closed but not fixed? #1585

@ThomasH-75

Description

@ThomasH-75

Issue #1274 is closed but it seems the fix has not been released, or is not working.

Version 0.58.2 of the extension on https://open-vsx.org claims to include the fix but it doesn't seem to work.

Regardless of which version of the extension I try then when running with debugger the stop button does not allow shutdown hooks to run.

But when running without debugging then the stop button allows shutdown hooks to run (this seems to have always been the case).
And when doing ctrl-c in the VScode terminal window then shutdown hooks run, regardless of debugging or not.

This is a problem for us because our application leaves resources behind when killed harshly, and our developers are switching from Eclipse, where they are used to clicking the red square to stop.

/Thomas

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions