anytype-ts
anytype-ts copied to clipboard
Anytype leaves orphaned processes running after being closed (Windows)
Have you read a contributing guide?
- [X] I have read CONTRIBUTING.md
- [X] I have searched the existing issues and didn't find any that were similar
- [X] I have considered creating a pull request with fixes instead of a bug report and want to proceed
Current Behavior
If I disable Anytype from showing in the system tray and close it, it leaves 5 processes (250mb RAM) running orphaned in the background. Subsequent attempts to reopen Anytype fail, until I manually kill those processes with Task Manager/Process Hacker.
Expected Behavior
If I disable Anytype from showing in the system tray and close it, I expect it to fully close and leave nothing running in the background.
Recommend renaming option Anytype >> Settings >> Show Anytype in system tray to Anytype >> Settings >> Run Anytype in background to more accurately reflect the expected and desired behaviour. System tray is for showing processes running in background, and hiding systray icons while still running is a dark pattern or a serious bug.
NB. Settings layout is also confusing.
Related issues: #630
Steps To Reproduce
- Run Anytype
- Goto
Anytype >> Settings >> Show Anytype in system trayand disable it - Close Anytype. There is no icon in systray to show it is still running, or to reopen the program to properly close it.
- Check in Task Manager/Process Hacker, and find 5 orphan processes still running. Anytype will not reopen until those processes are manually killed.
- There seems to be no way to properly close Anytype.
Environment
- OS: Windows 10
Anything else?
No response
Fixed in latest alpha.
The latest alpha seems to crash before even loading the UI, and leaves orphaned process just like this on Linux.
Yes, cause latest alpha on the moment of writing the comment was different, the most recent one crashes and I didnt rebuild yet.
Closing as it is done.