Closed samusaran closed 1 year ago
Hey, is it constantly happening or did it only happen once? Just tried it myself and it didn't crash when I turned my controller off, just returned to "no controller detected". So it could have been a rare edge case where it tried to read the battery state right as the controller disconnects.
It happened only once but I wanted to let you know. It could be like you said, that I turned off the controller right at the right moment. If needed, I can make you a pull request with just a try ... catch when you call GetBatteryInformation
.
I don't think, looking at the code, that anything more could be done.
Hi, I noticed that the application crashed after turning off the controller. Sadly I have nothing more than the event viewer entry: