mrhappyasthma / D2R-Multibox

A helper utility to streamline launching of D2R multibox
2 stars 0 forks source link

Occasionally the tool fails to close the handle #5

Open mrhappyasthma opened 2 years ago

mrhappyasthma commented 2 years ago

I'm not sure how to repro, but I've had a few instances where after running for a while and closing the game to jump between regions, the tool is running but doesn't find any handle.

However if I open Process Explorer, I see the D2R.exe and the handle and can still close it manually.

There must be some subtle bug in the logic.

One theory I had was that this may occur if you keep D2R running but exit out of the Battle.net application? Maybe in that instance my process iteration logic won't find it.

mrhappyasthma commented 1 year ago

I cleaned up the code in https://github.com/mrhappyasthma/D2R-Multibox/commit/f542157760d842a44233733d52cccc3824177f07 which may have also resolved this issue.

In the next season, I'll keep an eye out to see if this is still happening or not.