vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Allow Extension listen for window close before deactivate

Open quyinggang opened this issue 7 months ago • 0 comments

Check the API did not find about the window close related API and state acquisition, window state is just active and focus state, I tested the following mechanism and it is not reliable:

Image

I'm trying to find out if it's currently possible to reliably listen for window closures through some API, or if there's no API to support it at the moment.

quyinggang avatar May 23 '25 12:05 quyinggang