Skip to content

Kill Terminal using cmd-delete shortcut causes error #149689

@kenbanks-peng

Description

@kenbanks-peng

Issue Type: Bug

Reproduce

  • create new terminal session
  • select it in the terminal list and kill it using cmd-delete shortcut

Observed results:

  • Terminal session terminated with error message displayed - Illegal state: service accessor is only valid during the invocation of its target method

Expected results:

  • No error message

Note:

  • Error message does not occur when right-clicking on the terminal name in the list and selecting "Kill Terminal" from the popup menu.

VS Code version: Code 1.67.1 (Universal) (da15b6f, 2022-05-06T12:37:16.526Z)
OS version: Darwin x64 21.4.0
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz (4 x 3100)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 3
Memory (System) 8.00GB (0.05GB free)
Process Argv --crash-reporter-id e06073d9-8a2c-444c-a18c-c3789a0a19ac
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

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