boltgolt / howdy

🛡️ Windows Hello™ style facial authentication for Linux
MIT License
5.9k stars 307 forks source link

Fix segfault when adding a model via howdy-gtk #855

Closed Gliese852 closed 7 months ago

Gliese852 commented 1 year ago

On all test machines available to me (3), the map event was apparently fired before the "Please look directly into the camera" dialog was finally created. Therefore, the dialog was not displayed at all when scanning a face, and a segfault occurred when calling destroy().

Copied the code from onboarding.py, it works well there.

boltgolt commented 7 months ago

Thank you!