Skip to content

Draft: Fix freeze (#293)

Sebastian Spaeth requested to merge spaetz/PasswordSafe:fix_freeze into master

When using Ctrl-L to lock an open safe and the window button to close the app, froze it (#293 (closed)). Threads were blocking each other on shutdown, and due to our weird instatiation logic we sometimes invoke threads which call things which do things which do...

Not invoking a separate thread to create the DatabaseManager (and ALL the rest) makes the shutdown work and fixes the freeze.

This does not solve the underlying problem of how we instantiate things, but it fixes the freeze.

Fixes: https://gitlab.gnome.org/World/PasswordSafe/-/issues/293

Edited by Maximiliano

Merge request reports