LennysLounge / ACC-Race-Control

A live timing app for Assett Corsa Competizione
MIT License
31 stars 5 forks source link

Find a way to prevent Zombie processes when the google API login doesnt get completed. #8

Closed LennysLounge closed 1 year ago

LennysLounge commented 3 years ago

The application will lock once the google API asks for authentication with a login. If duing this time the app is closed and the login process is not completed It will create a Zombie process which will block the port.

Trying the Authentication again will then fail because the port is blocked by the Zombie process. One solution is to rotate the ports if it is block but the real problem is the Zombie process.

Right now the app will ask for Authentication then the Google Extension is created. After that the Google API Thread is created.

A better way to do it would be to create the google API Thread first and then ask for Authentication to prevent it blocking the Visualisation.

LennysLounge commented 1 year ago

This has since been fixed