In Python atexit registered functions timeout.
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Type: Bug
This is apparently already know.
Why have you not fixed it?
I have "view" statements in my code that collect various meshes in a 3d
cad program. I need to actually view these with a program exits.
Because you timeout atexit routines, this doesn't work.
Who decide this was a good idea? atexit comes from Unix... thoughout
its history, there were no timeout limitations. Why did you put this in?
VS Code version: Code 1.136.1 (a44adf7f53e00964ab890f9f8758a334f1fc15bc, 2026-09-03T05:06:41Z)
OS version: Windows_NT arm64 10.0.26200
Modes:
Remote OS version: Linux arm64 6.6.114.1-microsoft-standard-WSL2
System Info
|Item|Value|
|---|---|
|CPUs|Snapdragon(R) X Plus - X1P42100 - Qualcomm(R) Oryon(TM) CPU (8 x 2976)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x4d4f4351, DEVICE=0x37314430 [Qualcomm(R) Adreno(TM) X1-45 GPU], DRIVER_VENDOR=Qualcomm, DRIVER_VERSION=31.0.148.0 *ACTIVE*
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8972
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|15.60GB (1.39GB free)|
|Process Argv|--crash-reporter-id 720da482-53db-455b-b15f-72f8bf3f62b4|
|Screen Reader|no|
|VM|0%|
|Item|Value|
|---|---|
|Remote|WSL: Ubuntu|
|OS|Linux arm64 6.6.114.1-microsoft-standard-WSL2|
|CPUs|unknown (8 x 0)|
|Memory (System)|7.55GB (3.90GB free)|
|VM|0%|
Extensions (20)
Name|Identifier|Author|Version
---|---|---|---
debug-tracker-vscode|mcu-debug.debug-tracker-vscode|mcu-debug|0.0.15
Peripheral Viewer|mcu-debug.peripheral-viewer|mcu-debug|1.6.4
Microsoft.AspNetCore.Razor.VSCode.BlazorWasmDebuggingExtension|ms-dotnettools.blazorwasm-companion|ms-dotnettools|1.1.4
Jupyter Keymap|ms-toolsai.jupyter-keymap|ms-toolsai|1.1.2
Remote - SSH|ms-vscode-remote.remote-ssh|ms-vscode-remote|0.128.0
Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|ms-vscode-remote|0.87.0
WSL|ms-vscode-remote.remote-wsl|ms-vscode-remote|0.104.3
Remote Explorer|ms-vscode.remote-explorer|ms-vscode|0.5.0
Serial Monitor|ms-vscode.vscode-serial-monitor|ms-vscode|0.13.1
Vim|vscodevim.vim|vscodevim|1.32.4
GitHub Markdown Preview|bierner.github-markdown-preview|bierner|0.4.0
Markdown Checkboxes|bierner.markdown-checkbox|bierner|0.4.0
Markdown Emoji|bierner.markdown-emoji|bierner|0.3.1
Markdown Footnotes|bierner.markdown-footnotes|bierner|0.1.1
Markdown Preview Github Styling|bierner.markdown-preview-github-styles|bierner|2.2.0
Black Formatter|ms-python.black-formatter|ms-python|2026.6.0
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Pylance|ms-python.vscode-pylance|ms-python|2026.3.1
Python Environments|ms-python.vscode-python-envs|ms-python|1.36.0
A/B Experiments
```
vsliv368cf:30146710
vswsl492cf:30256860
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
42190218_ostrepl:31403339
ec5jj548:31422691
diffpatch-lysithea-0014-prod-ctrl:31579327
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
ddid_c:31478207
hmra_i5g22:31518061
l_j1ci3728:31575056
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
jh5f2457_c:31540921
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
jf4hg949:31526829
ahp-both-windows:31556933
ihg5j128:31534457
9gg7f176:31542112
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
c7c27ce7:31554789
1h923230:31564177
0dg73464:31554319
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
switchtoauto:31559321
maidictation:31565333
0c1h4866:31566224
vrbsty_fls:31561059
session-mark-done:31558131
5b8j3302:31564601
mangle-name-control:31572633
multiv2:31574985
2bfb8b39:31576696
permission_prompt_control:1332567
ccr_pr_nudge_auto_review:1319472
vsc_wsm_t:1340632
jidc7660:1370295
auto_mode_control:1367906
1g5a5742:1379227
```
Contributor guide
Assessment
This issue has not been assessed yet.