BetterJoy icon indicating copy to clipboard operation
BetterJoy copied to clipboard

Don't Allow more than 1 instance to be loaded at a time

Open sanford opened this issue 6 years ago • 3 comments

Issue:

Multiple BetterJoy's can be launched and they conflict with each other.

Suggested fix:

At startup if another instance of BetterJoy is loaded, exit the new instance.

sanford avatar May 08 '20 02:05 sanford

I have had this problem as well.

When the program automatically disconnects a joycon or simply freezes when I go to check its settings or reconnect the joycon somehow I get multiple copies of the program running.

Recently I was simply browsing the internet and my laptops fan was flying. I checked my cpu usage and it was above 90%. When I went to see what was using the CP I found 3 versions of Better joy running all using 25%+ of my i7.

is there a way to force only one version of the app to run at a time on my PC? I often don't notice when or why another version will open.

Thank you for your communication and help

ceephis avatar May 19 '20 08:05 ceephis

Implemented in https://github.com/Davidobot/BetterJoy/commit/f1d4febf8f7b233b92ba00b0df9bd27deebc6e5f

Davidobot avatar May 19 '20 12:05 Davidobot

Here is a screen capture of what I am experiencing

https://photos.app.goo.gl/35uVrLpkbqbCVWL97

ceephis avatar May 19 '20 21:05 ceephis