Skip to content

Extension is not deactivated on closing the editor window #567

@seanmcbreen

Description

@seanmcbreen

From @ArtemGovorov on November 16, 2015 7:15

My extension spins up a few processes that I'd like to kill when it's deactivated.
The deactivation callback for ExtensionContext

context.subscriptions.push({dispose: () => ...});

works perfectly when I stop debugger for the Extension Development Host. However, if I just close the editor window on OSX, the deactivation callback is not invoked, so I can see all created processes hanging around and not being killed.

Copied from original issue: Microsoft/vscode-extensionbuilders#113

Metadata

Metadata

Assignees

Labels

apibugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions