Closing/Killing Cursor IDE does not kill all background processes

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When closing the Cursor IDE, (either via the X button or by killing the IDE app via the xkill command), the Cursor menu/taskbar item does not close and becomes unresponsive to close with right click + Quit.

I have to go to my OS’s (Cachy OS) task manager and send a KILL signal to its process. Additionally there is another process that stays on after I kill the menu/taskbar item, and I have to close that as well. They also consume a lot of RAM and CPU and ramp up my laptop’s fans if I do not close them manually.

Steps to Reproduce

Just open a project in the Editor window and try to close it on an Arch based distro (I am on CachyOS). I am also on Linux kernel v7.0.1.

Expected Behavior

The Cursor IDE should not spin up multiple processes, only the IDE one and when I close it, everything should, and not leave any background processes running.

Operating System

Linux

Version Information

Version: 3.2.11

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This is a known issue. The extension host and related processes sometimes ignore SIGTERM when you close the window, so the tray icon and background processes stay alive and you have to kill them manually. It’s not only on Linux, there are similar reports on macOS and Windows too:

We’ve logged the bug, but I can’t share an ETA for a fix yet.

If you can, please send the output of ps aux | grep -iE 'cursor|code' right after closing the IDE while the tray is still there. I want to confirm which processes are still running: extension host, shared process, ripgrep, or something else. That’ll help us pinpoint where the shutdown sequence gets stuck.