graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
905 stars 88 forks source link

Fix lingering gdbus process #368

Closed smac89 closed 10 months ago

smac89 commented 10 months ago

I noticed that after some time, the systemd process has a bunch of gdbus processes which are kept running in the background. This PR fixes that, and also simplifies some of the code.

As I was looking to see if anyone had reported this, I noticed #315, which pretty much describes the bug.

Fixes #315 Resolves #317

graysky2 commented 10 months ago

I do not suspend my primary at all so cannot test this. @smac89 @glitsj16 does the PR seem sane to you and can you test/report back?

glitsj16 commented 10 months ago

@graysky2 Not that I ever encountered the lingering gdbus processes mentioned in #315 / #317, this PR looks sane and does work for me. I'm not in a multi-user environment though, so I guess the best positioned judge is the OP of that issue report.

graysky2 commented 10 months ago

Thanks @glitsj16 Thanks for the PR @smac89