tnychn / mpv-discord

🎈 A cross-platform Discord Rich Presence integration for mpv with no external dependencies.
MIT License
172 stars 14 forks source link

[bug]Multiple executeables left running after use, taking up alot of resources. #29

Open Reinbowsaur opened 2 years ago

Reinbowsaur commented 2 years ago

Don't know how it happened first time I noticed it, but some extra code to prevent this from happening/force closing others might be a good idea. Image below. ss (2021-08-21 at 23 56 06)

Reinbowsaur commented 2 years ago

Will update when it happens again/figure out how it manages to happen.

omarsonmarz commented 2 years ago

Hey, I've got a problem with this too. My problem might not be related to mpv itself since I'm using the RPC for IINA, but I've only seen two discord processes running at the same time so far taking up about 80-90% CPU. This usually happens if I leave IINA open and kill the actual Discord app, but it seems like this bug is affecting MacOS as well as Windows.

edit: cpu usage when bugging Screen Shot 2022-04-28 at 9 44 44 PM edit 2 (sorry): 2 discord processes with one taking up cpu and the other taking up <1% cpu Screen Shot 2022-04-28 at 9 52 03 PM